Learn R Programming

rv (version 0.949)

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, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Kerman, Jouni. Umacs: A Universal Markov Chain Sampler. Technical report, Columbia University, New York.

See Also

as.rv.bugs

Examples

Run this code
#

Run the code above in your browser using DataLab