rvmax {rv}R Documentation

Maximum Simulated Value of Random Variable

Description

rvmax

Usage

  rvmax(x, ...)

Arguments

x an rv object
... further arguments passed to max

Details

rvmin applies the function min to the simulations of each component of the argument x.

Value

A numeric vector of the same dimension as x.

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

rvmin, rvmedian, rvmean.

Examples

  rvmax(rvnorm(1))

[Package rv version 0.949 Index]