Extract quantities that can be used to diagnose sampling behavior of the algorithms applied by Stan at the back-end of brms.
# S3 method for brmsfit
log_posterior(object, ...)
# S3 method for brmsfit
nuts_params(object, pars = NULL, ...)
# S3 method for brmsfit
rhat(x, pars = NULL, ...)
# S3 method for brmsfit
neff_ratio(object, pars = NULL, ...)
A brmsfit
object.
Arguments passed to individual methods.
An optional character vector of parameter names.
For nuts_params
these will be NUTS sampler parameter
names rather than model parameters. If pars is omitted
all parameters are included.
The exact form of the output depends on the method.
For more details see
bayesplot-extractors
.