Internal function for converting parameters to natural parameters.
Source:R/dist_spec.R
convert_to_natural.Rd
This is used for preprocessing before generating a dist_spec
object
from a given set of parameters and distribution
Value
A list with two elements, params_mean
and params_sd
, containing
mean and sd of natural parameters.
Examples
if (FALSE) { # \dontrun{
convert_to_natural(
params = list(mean = 2, sd = 1),
distribution = "gamma"
)
} # }