rvRhat: R-hat Convergence Diagnostic

Description Usage Arguments Details Value Author(s) References

View source: R/mcmcattr.R

Description

Retrieves the R-hat convergence diagnostic for each component of the argument

Usage

1
rvRhat(x)

Arguments

x

an object

Details

The R-hat values are assumed to be saved as attributes. If they are not available, NA will be returned.

R-hat is computed by programs such as Umacs and R2WinBUGS.

Value

Vector of numbers, NA if R-hat is not available.

Author(s)

Jouni Kerman jouni@kerman.com

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").


jsta/rv documentation built on Feb. 12, 2022, 5:13 p.m.