simpleRhat {wiqid} | R Documentation |
This is now a wrapper for getRhat
simpleRhat(object, n.chains, burnin=0)
object |
an object of any class with MCMC output that can be coerced to class mcmcOutput. |
n.chains |
ignored |
burnin |
ignored |
A named vector with the Rhat values.
Mike Meredith
Brooks, S.P. & Gelman, A. (1998) General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7, 434-455.
Spiegelhalter, Thomas, Best & Lunn (2003) WinBUGS User Manual Version 1.4, on line here.
# Get some output to use
data(salamanders)
y <- rowSums(salamanders)
( out <- BoccSS0(y, 5) )
simpleRhat(out)