rhat: Extract Diagnostic Quantities of 'brms' Models
Description
Extract Rhat statistic that can be used to diagnose sampling behaviour
of the algorithms applied by 'Stan' at the back-end of 'brms'.
x should be of class
bayesnecfit or bayesmanecfit.
Usage
# S3 method for bayesnecfit
rhat(x, rhat_cutoff = 1.05, ...)
# S3 method for bayesmanecfit
rhat(x, rhat_cutoff = 1.05, ...)
Value
A list containing a vector or Rhat values
returned for each parameter for a brmsfit object,
for each of the fitted models.
Arguments
x
An object of class bayesnecfit or
bayesmanecfit.
rhat_cutoff
A numeric vector indicating the Rhat
cut-off used to test for model convergence.