convert_to_natural | R Documentation |
This is used for preprocessing before generating a dist_spec
object
from a given set of parameters and distribution
convert_to_natural(params, distribution)
params |
A numerical named parameter vector |
distribution |
Character; the distribution to use. |
A list with two elements, params_mean
and params_sd
, containing
mean and sd of natural parameters.
## Not run:
convert_to_natural(
params = list(mean = 2, sd = 1),
distribution = "gamma"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.