sort.npnorm | R Documentation |
npnorm
Function sort.npnorm
sorts an object of class
npnorm
in the order of the obsersed values.
## S3 method for class 'npnorm'
sort(x, decreasing = FALSE, ...)
x |
an object of class |
decreasing |
logical, in the decreasing (default) or increasing order. |
... |
arguments passed to function |
mix = disc(pt=c(0,4), pr=c(0.3,0.7)) # a discrete distribution
x = rnpnorm(20, mix, sd=1)
sort(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.