View source: R/posterior_samples.R
as.mcmc.brmsfit | R Documentation |
The as.mcmc
method is deprecated. We recommend using the more
modern and consistent as_draws_*
extractor
functions of the posterior package instead.
## S3 method for class 'brmsfit'
as.mcmc(
x,
pars = NA,
fixed = FALSE,
combine_chains = FALSE,
inc_warmup = FALSE,
...
)
x |
An |
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. |
fixed |
Indicates whether parameter names
should be matched exactly ( |
combine_chains |
Indicates whether chains should be combined. |
inc_warmup |
Indicates if the warmup samples should be included.
Default is |
... |
currently unused |
If combine_chains = TRUE
an mcmc
object is returned.
If combine_chains = FALSE
an mcmc.list
object is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.