orderstats | R Documentation |
Sample a subset of order statistics of the Uniform(0,1) distribution
orderstats(n, orderstats)
n |
Total number of independent draws |
orderstats |
Which order statistics to generate, in increasing order |
Uniform order statistics are generated by the exponential spacings method (see Ripley for example).
A vector of order statistics equal in length to orderstats
Brian Ripley ‘Stochastic Simulation’ Wiley (1987)
orderstats(100, c(25,50,75))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.