powered by
Test whether an object has converged.
converged(x, ...)# S3 method for default converged(x, rhat = 1.1, esr = 0.33, by = "all", as_df = FALSE, ...)# S3 method for mcmcrs converged(x, rhat = 1.1, esr = 0.33, by = "all", as_df = FALSE, bound = FALSE, ...)
# S3 method for default converged(x, rhat = 1.1, esr = 0.33, by = "all", as_df = FALSE, ...)
# S3 method for mcmcrs converged(x, rhat = 1.1, esr = 0.33, by = "all", as_df = FALSE, bound = FALSE, ...)
An object.
Unused.
The maximum rhat value.
The minimum effective sampling rate.
A string indicating whether to determine by "term", "parameter" or "all".
A flag indicating whether to return the values as a data frame versus a named list.
flag specifying whether to bind mcmcrs objects by their chains before calculating rhat.
default: Test whether an object has converged
default
mcmcrs: Test whether an mcmcrs object has converged
mcmcrs
rhat and esr
rhat
esr
# NOT RUN { converged(mcmcr_example) converged(mcmcrs(mcmcr_example, mcmcr_example)) converged(mcmcrs(mcmcr_example, mcmcr_example), bound = TRUE) # }
Run the code above in your browser using DataLab