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

Description Usage Arguments Details Value Author(s) References Examples

View source: R/mcmcattr.R

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
  #

jsta/rv documentation built on Feb. 12, 2022, 5:13 p.m.