sort.nppois | R Documentation |
nppois
Function sort.nppois
sorts an object of class
nppois
in the order of the obsersed values.
## S3 method for class 'nppois'
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 = rnppois(20, mix)
sort(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.