Tests whether an object has converged.
Usage
# Default S3 method
converged(
x,
rhat = 1.1,
esr = 0.33,
by = "all",
as_df = FALSE,
na_rm = FALSE,
...
)
Arguments
- x
An object.
- rhat
The maximum rhat value.
- esr
The minimum effective sampling rate.
- by
A string indicating whether to determine by "term", "parameter" or "all".
- as_df
A flag indicating whether to return the results as a data frame versus a named list.
- na_rm
A flag specifying whether to ignore missing values.
- ...
Other arguments passed to methods.
See also
Other convergence:
converged_pars()
,
converged_terms()
,
esr()
,
esr_pars()
,
esr_terms()
,
rhat()
,
rhat_pars()
,
rhat_terms()
Examples
converged(mcmcr_example)
#> [1] FALSE