JAGS_evaluate_formula | R Documentation |
Evaluates a JAGS formula on a posterior distribution obtained from a fitted model.
JAGS_evaluate_formula(fit, formula, parameter, data, prior_list)
fit |
model fitted with either runjags posterior samples obtained with rjags-package |
formula |
formula specifying the right hand side of the assignment (the left hand side is ignored) |
parameter |
name of the parameter created with the formula |
data |
data.frame containing predictors included in the formula |
prior_list |
named list of prior distribution of parameters specified within
the |
JAGS_evaluate_formula
returns a matrix of the evaluated posterior samples on
the supplied data.
JAGS_fit()
JAGS_formula()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.