Learn R Programming

rv (version 0.949)

rvmax: Maximum Simulated Value of Random Variable

Description

rvmax

Usage

rvmax(x, ...)

Arguments

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

Value

  • A numeric vector of the same dimension as x.

Details

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

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

Run this code
rvmax(rvnorm(1))

Run the code above in your browser using DataLab