rvRhat {rv}R Documentation

R-hat Convergence Diagnostic

Description

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

Usage

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").


[Package rv version 1.0 Index]