View source: R/convergence_checking.R
convert_df_to_posterior_format | R Documentation |
Converts a single tibble to posterior format
convert_df_to_posterior_format(
res_df,
parameter_cols,
names_cols,
names_prefix
)
res_df |
one of the three tibbles returned by running mcmc |
parameter_cols |
the column(s) containing the parameter draws |
names_cols |
another column specifying an index for parameter draws |
names_prefix |
the prefix for naming the columns of the output tibble |
a tibble in the format required by posterior package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.