sort.rv: Distribution of Order Statistics of a Random Vector

sort.rvR Documentation

Distribution of Order Statistics of a Random Vector

Description

sort.rv computes the distribution of the order statistics of a random vector.

Usage

## S3 method for class 'rv'
sort(x, ...)

Arguments

x

a random vector

...

further arguments passed to sort.rv

Details

The result is the distribution of the order statistic of the given vector x: that is, the sort function is applied to each row of the matrix of simulations of x (sims(x)) and returned then in random vector form.

See sort for further details of the function sort.

Value

An rv object of the same length as x.

Author(s)

Jouni Kerman jouni@kerman.com

References

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").

See Also

sort


rv documentation built on March 18, 2022, 5:55 p.m.