validate_priors {grizbayr} | R Documentation |
Validate Priors
Description
Validates list of priors against a vector of valid priors and if the values are not valid, default priors are returned.
Usage
validate_priors(priors, valid_priors, default_priors)
Arguments
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. |
Value
A named list of valid priors for the distribution.
[Package grizbayr version 1.3.5 Index]