Description Usage Arguments Value
User-facing constructor for new prior_dist
objects
1 | prior_dist(name, params, bounds = NA)
|
name |
a string with the name of the distribution (e.g. 'normal'). Must match a distribution in |
params |
parameters for the prior distribution. Should match the number and constrains imposed by the distribution name. |
bounds |
a lower and upper bound for the parameter. This restricts the range in which sampling occurs. If left as NA, no bounds are imposed |
a new prior_dist
object in the arguments specify a valid distribution. Throws an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.