new_dist_spec | R Documentation |
dist_spec
given parameters and a
distribution.
This will convert all parameters to natural parameters before generating
a dist_spec
. If they have uncertainty this will be done using sampling.
new_dist_spec(params, distribution)
params |
Parameters of the distribution (including |
distribution |
Character; the distribution to use. |
A dist_spec
of the given specification.
new_dist_spec(
params = list(mean = 2, sd = 1, max = Inf),
distribution = "normal"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.