View source: R/visualize-NIW-IA-stanfit.R
plot_ibbu_stanfit_parameters | R Documentation |
Plot distribution of post-warmup MCMC samples for all parameters representing the prior and/or posterior beliefs.
plot_ibbu_stanfit_parameters(
model,
categories = get_category_levels_from_stanfit(model),
groups = get_group_levels_from_stanfit(model, include_prior = T),
cues = get_cue_levels_from_stanfit(model),
ndraws = NULL,
untransform_cues = TRUE,
panel_scaling = F,
group.colors = get_default_colors("group", groups)
)
model |
mv-ibbu-stanfit object. |
categories , groups , cues |
Character vector of categories/groups/cues to be plotted. Typically, the levels of these factors
are automatically added to the fit during the creation of the fit. If necessary, however, it is possible to use
|
ndraws |
Number of draws to plot (or use to calculate the CIs), or 'NULL' if all draws are to be returned. (default: 'NULL') |
untransform_cues |
Should m_0 and S_0 be transformed back into the original cue space? (default: 'TRUE') |
panel_scaling |
Should the relative scaling be calculated separately for each panel? If not the scaling is calculated globally. (default: 'FALSE') |
group.colors |
Vector of fill colors of same length as group.ids or 'NULL' to use defaults. (default: 'NULL') |
which |
Should parameters for the prior, posterior, or both be plotted? (default: '"both"') |
ggplot object.
TBD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.