Calculates an R-hat (potential scale reduction factor) value.
Usage
# S3 method for class 'mcarray'
rhat(x, by = "all", as_df = FALSE, na_rm = FALSE, ...)
References
Gelman, A., and Rubin, D.B. 1992. Inference from Iterative Simulation Using Multiple Sequences. Statistical Science 7(4): 457–472.
See also
Other convergence:
converged()
,
converged_pars()
,
converged_terms()
,
esr()
,
esr_pars()
,
esr_terms()
,
rhat_pars()
,
rhat_terms()