get_posterior_samples: Retrieve random samples of posterior coefficient estimates

View source: R/get_posterior_samples.R

get_posterior_samplesR Documentation

Retrieve random samples of posterior coefficient estimates

Description

Retrieve random samples of posterior coefficient estimates

Usage

get_posterior_samples(mod_list, n = 200L)

Arguments

mod_list

A list of regression model objects of class brmsfit.

n

Integer indicating number of samples to pull

Details

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.

Value

a list of dataframes

Author(s)

Jason Grafmiller

Examples

## Not run: 
Coming soon...

## End(Not run)

jasongraf1/VADIS documentation built on July 19, 2023, 10:26 p.m.