rv (version 2.3.4)

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

Examples

Run this code
# NOT RUN {
  #

# }

Run the code above in your browser using DataLab