Lumenize icon indicating copy to clipboard operation
Lumenize copied to clipboard

R function rpois()

Open jmaccherone opened this issue 12 years ago • 0 comments

Creates a stream of random numbers that fit a poisson distribution. Takes 2 arguments, the first is the count of numbers to create and the second is the mean you would like to come close to.

rpois(count, mean)

rpois(10,3) [1] 5 4 4 2 0 3 6 2 3 3

jmaccherone avatar Jun 05 '13 16:06 jmaccherone