Extremes-rv {rv} | R Documentation |
Returns the maxima and minima of the components of a random vector.
rvmin(x) rvmax(x) rvrange(x)
x |
an rv or rvsummary object |
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.
A numeric vector of the same dimension as x
.
Jouni Kerman jouni@kerman.com
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.
See also vignette("rv")
.
x <- rvpois(10, lambda=3) rvmin(x) rvmax(x) rvrange(x)