powered by
nppois
Function sort.nppois sorts an object of class nppois in the order of the obsersed values.
sort.nppois
# S3 method for nppois sort(x, decreasing = FALSE, ...)
an object of class nppois.
logical, in the decreasing (default) or increasing order.
arguments passed to function order.
order
mix = disc(pt=c(0,4), pr=c(0.3,0.7)) # a discrete distribution x = rnppois(20, mix) sort(x)
Run the code above in your browser using DataLab