Description Usage Arguments Details Value Note Author(s) See Also Examples
Density and random generation for the Poisson distribution with parameter lambda.
1 2 |
x |
vector of (non-negative integer) quantiles |
n |
number of random values to return |
lambda |
vector of (non-negative) means |
log |
logical; if TRUE, probabilities p are given as log(p) |
type |
specify the type; may be |
Very similar to the R stats functionality.
gdpois
gives the (log) density, and grpois
generates random deviates.
The algorithm for simulating from the poisson distribution was modified from the GSL library which uses the Knuth method.
Nathan Morris
1 | myRndNums = grpois(10,4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.