Extremes-rv: Maxima and Minima of Random Variables
Description
Returns the maxima and minima of the components of a random vector.
Usage
rvmin(x)
rvmax(x)
rvrange(x)
Arguments
x
an rv or rvsummary object
Value
A numeric vector of the same dimension as x.
Details
rvmin applies the function min to each component of the argument x.
Missing values are removed.
rvmax applies the function max to each component of the argument x.
Missing values are removed.
rvrange applies the function range to each component of the argument x. Missing values are removed.
References
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing
Posterior Simulations Using Random Variable Objects.
Statistics and Computing 17:3, 235-244.