rv (version 2.3.4)

rvnchains: Number of Markov Chains Used to Generate Simulations of a Random Vector

Description

Retrieves the number of mcmc chains in each components of the argument.

Usage

rvnchains(x)

Arguments

x

an rv object (supposed to be generated by a MCMC process)

Details

Assumes that the rv object was generated by a MCMC process. Umacs and R2WinBUGS are compatible.

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

See Also

as.rv.bugs

Examples

Run this code
# NOT RUN {
  #

# }

Run the code above in your browser using DataLab