poissonSim | R Documentation |
Generate n pseudo random numbers from a Poisson distribution.
poissonSim(n = 1, lambda = 1, seed = as.integer(Sys.time()))
n |
the number of pseudo random Poisson numbers to generate. Defaults to 1. |
lambda |
Shape parameter indicating the average number off events in a given time interval. Defaults to 1. |
seed |
Seed for pseudo random number generating algorithm. Defaults to a integer generated from the system time |
vector of Poisson random variants of length n
poissonSim(n =1e4, lambda=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.