Learn R Programming

mcmcr (version 0.0.2)

converged: Object Converged

Description

Test whether an object has converged.

Usage

converged(x, ...)

# S3 method for default converged(x, rhat = 1.1, esr = 0.33, by = "all", as_df = FALSE, ...)

Arguments

x

An object.

...

Unused.

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 (tbl) data frame.

Methods (by class)

  • default: Test whether an object has converged

Examples

Run this code
# NOT RUN {
converged(mcmcr_example)
# }

Run the code above in your browser using DataLab