Extract.rv {rv}R Documentation

Extract or Replace Parts of a Random Vector

Description

Details

Extracting rv objects works the same way as extracting components of a numerical vector or array. The return value is always an object of class 'rv'. Type ?Extract for details.

Note: the arguments (i, j, etc.) may be themselves random variables.

Value

A random variable (an rv object).

References

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

Examples

  #

[Package rv version 0.925 Index]