This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/Poisson.html
Poisson {base}R Documentation

The Poisson Distribution

Description

These functions provide information about the Poisson distribution with parameter lambda. dpois gives the density, ppois gives the distribution function qpois gives the quantile function and rpois generates random deviates.

The Poisson distribution has density

p(x) = \frac{{\lambda}^{x} {e}^{-\lambda}}{x!}

for x = 0, 1, 2, \ldots.

Usage

dpois(x, lambda)
ppois(q, lambda)
qpois(p, lambda)
rpois(n, lambda)

Arguments

x

vector of (positive) quantiles.

p

vector of probabilities.

n

number of random values to return.

lambda

vector of positive means.

Examples

-log(dpois(0:7, lambda=1) * gamma(1+ 0:7))
Ni <- rpois(50, lam= 4); table(factor(Ni, 0:max(Ni)))

[Package base version 0.60 ]