Description Usage Arguments Value
View source: R/prior_massage.R
Transforms a prior formula to a list.
1  | massage_prior(prior, data = NULL, .force = TRUE)
 | 
data | 
 Optional data frame.  | 
.force | 
 Logical; if   | 
formula | 
 Two-sided formula with a covariate on the left-hand side and
a prior from   | 
A list containing list containing the name of the covariate, the name of the prior,and the values of the prior parameters. If the right hand side refers to a factor, the expanded factor names are used instead. (Intercept) is not included: It must be named individually.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.