Number of Effective Draws in Each Component of a Random Variable

Share:

Description

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

Usage

1
  rvneff(x)

Arguments

x

an rv object

Details

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

Value

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

Author(s)

Jouni Kerman jouni@kerman.com

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

1
  #

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.