View source: R/get_posterior_samples.R
get_posterior_samples | R Documentation |
Retrieve random samples of posterior coefficient estimates
get_posterior_samples(mod_list, n = 200L)
mod_list |
A list of regression model objects of class |
n |
Integer indicating number of samples to pull |
The function loops through a list of *M* model objects, randomly samples coefficient estimates from the posterior, and compiles those samples in a single dataframe. Output is a list of *M* dataframes each with *n* columns of sampled estimates. Currently only works with brmsfit
objects.
a list of dataframes
Jason Grafmiller
## Not run:
Coming soon...
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.