View source: R/validate_priors.R
validate_priors | R Documentation |
Validates list of priors against a vector of valid priors and if the values are not valid, default priors are returned.
validate_priors(priors, valid_priors, default_priors)
priors |
List of named priors with double values. |
valid_priors |
A character vector of valid prior names. |
default_priors |
A list of default priors for the distribution. |
A named list of valid priors for the distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.