Description Usage Arguments Value
View source: R/stan-conj-update.R
Extract sampled updated beliefs from fitted model to data_frame
1 2 | extract_updated_samples(fitted, cat_levels, group_levels,
samples = rstan::extract(fitted))
|
fitted |
Fitted stan model for inferring prior |
cat_levels |
Labels for the categories. |
group_levels |
Labels for groups/conditions (for updated) |
samples |
Optional: Samples extracted from fitted model with
|
a data_frame, with one row per sample and columns for
iterations (sample number), category, group,
mu_n, sigma_n, kappa_n, and nu_n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.