
brmsfit
objectA pairs
method that is customized for MCMC output.
# S3 method for brmsfit
pairs(x, pars = NA, exact_match = FALSE, ...)
An object of class brmsfit
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.
Indicates whether parameter names
should be matched exactly or treated as regular expression.
Default is FALSE
.
Further arguments to be passed to
mcmc_pairs
.
For a detailed description see
mcmc_pairs
.
# NOT RUN {
fit <- brm(count ~ zAge + zBase * Trt
+ (1|patient) + (1|visit),
data = epilepsy, family = "poisson")
pairs(fit, pars = parnames(fit)[1:3], exact_match = TRUE)
pairs(fit, pars = "^sd_")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab