sort.rv {rv} | R Documentation |
sort.rv
computes the distribution of the order statistics
of a random vector.
## S3 method for class 'rv': sort(x, ...)
x |
a random vector |
... |
further arguments passed to sort.rv |
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
.
An rv object of the same length as x
.
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
#