Description Usage Arguments Note Author(s) References Examples
Generates random variables from a Poisson sampling model.
1 | rvpois(n = 1, lambda)
|
n |
integer: number of variables to generate |
lambda |
a vector of (positive) mean parameters; (may be random) |
If any of the arguments are random, the resulting simulations may have non-Poisson marginal distributions.
Jouni Kerman jouni@kerman.com
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.
See also vignette("rv")
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.