Description Usage Arguments Value Examples
Used internally, in prep_prior_list
.
1 | check_prior_specification(distribution, string)
|
distribution |
the prior distribution, as a character string. |
string |
the string specifiying the parameter values, parsed from the prior_config file. |
TRUE/FALSE: is the prior specified correctly?
1 2 3 4 5 6 | ## Not run:
check_prior_specification("normal", "normal(32,45)") # returns T
check_prior_specification("uniform", "uniform(32)") # returns F
check_prior_specification("exponential", "exponential(0.5)") # returns T
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.