View source: R/core_bayes_estimate.R
| get_subset_chains | R Documentation |
When calling estimate_bayesian(), the MCMC results are
packed up as an mcmc_dm object. This function is used in the depths of
dRiftDM to extract the relevant array of MCMC samples,
depending on whether the model is hierarchical and whether a participant ID
is provided.
get_subset_chains(chains_obj, id = NULL)
chains_obj |
an object of class |
id |
an optional single numeric or character, specifying the |
A 3D array of MCMC samples. The first dimension indicates parameters, the second dimension chains, and the third dimension iterations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.