rvrange {rv}R Documentation

Range of Simulations in a Random Variable

Description

Returns the range (min, max) of the simulations for each component of the given random vector or array.

Usage

  rvrange(x, ...)

Arguments

x an rv object
... arguments passed to range

Details

rvrange applies the function range to each component of the 'rv' object.

Value

A numeric (constant) array with 2 rows (=min, max) and length(x) columns.

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

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

See Also

range.rv returns the distribution of the range of a random vector.

Examples

  #

[Package rv version 0.949 Index]