brms (version 0.10.0)

as.mcmc.brmsfit: Extract posterior samples for use with the coda package

Description

Extract posterior samples for use with the coda package

Usage

"as.mcmc"(x, pars = NA, exact_match = FALSE, inc_warmup = FALSE, ...)

Arguments

x
An R object typically of class brmsfit
pars
Names of parameters for which posterior samples should be returned, as given by a character vector or regular expressions. By default, all posterior samples of all parameters are extracted
exact_match
Indicates whether parameter names should be matched exactly or treated as regular expression. Default is FALSE.
inc_warmup
Indicates if the warmup samples should be included. Default is FALSE. Warmup samples are used to tune the parameters of the sampling algorithm and should not be analyzed.
...
currently unused

Value

A list of mcmc objects (not an mcmc object itself).