Lumenize
Lumenize copied to clipboard
R function rpois()
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