-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathas.mcmc.brmsfit.Rmd
More file actions
24 lines (23 loc) · 1.02 KB
/
as.mcmc.brmsfit.Rmd
File metadata and controls
24 lines (23 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
as.mcmc.brmsfit Extract posterior samples for use with the coda package
#### Description
Extract posterior samples for use with the coda package
Usage
## S3 method for class 'brmsfit'
as.mcmc(x, pars = NA, exact_match = FALSE,
combine_chains = 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.
combine_chains Indicates whether chains should be combined.
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
10 AsymLaplace
#### Value
If combine_chains = TRUE an mcmc object is returned. If combine_chains = FALSE an mcmc.list
object is returned.