| run_hyper | R Documentation |
Separate function for running only the group-level model. This can be useful in a two-step analysis. Works similar in functionality to make_emc, except also does the fitting and returns an emc object that works with most posterior checking tests (but not the data generation/posterior predictives).
run_hyper(
type = "standard",
data,
prior = NULL,
iter = 1000,
n_chains = 3,
...
)
type |
A string indicating whether to run a |
data |
A data frame, or a list of data frames. Needs to have the variable |
prior |
an emc.prior object. |
iter |
Number of MCMC samples to collect. |
n_chains |
An integer. Specifies the number of mcmc chains to be run (has to be more than 1 to compute |
... |
Additional, optional arguments. |
an emc object with only group-level samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.