pairs.brmsfit {brms} | R Documentation |
Create a matrix of output plots from a brmsfit
object
Description
A pairs
method that is customized for MCMC output.
Usage
## S3 method for class 'brmsfit'
pairs(x, pars = NA, variable = NULL, regex = FALSE, fixed = FALSE, ...)
Arguments
x |
An object of class |
pars |
Deprecated alias of |
variable |
Names of the variables (parameters) to plot, as given by a
character vector or a regular expression (if |
regex |
Logical; Indicates whether |
fixed |
(Deprecated) Indicates whether parameter names
should be matched exactly ( |
... |
Further arguments to be passed to
|
Details
For a detailed description see
mcmc_pairs
.
Examples
## Not run:
fit <- brm(count ~ zAge + zBase * Trt
+ (1|patient) + (1|visit),
data = epilepsy, family = "poisson")
pairs(fit, variable = variables(fit)[1:3])
pairs(fit, variable = "^sd_", regex = TRUE)
## End(Not run)
[Package brms version 2.21.0 Index]