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