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

View source: R/mcmcattr.R

rvneffR Documentation

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

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


  #


rv documentation built on March 18, 2022, 5:55 p.m.