Learn R Programming

rv (version 0.949)

rvneff: Number of Effective Draws in Each Component of a Random Variable

Description

Retrieves the number of effective draws in each component of the argument.

Usage

rvneff(x)

Arguments

x
an rv object

Value

  • A numeric object of the same length as the argument x.

Details

The number of effective draws is supposed to be saved by the simulation generating program (e.g. WinBUGS via R2WinBUGS).

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

Run this code
#

Run the code above in your browser using DataLab