binom2pois {DanielBiostatistics10th} | R Documentation |
Binomial Approaching Poisson
binom2pois(x, lambda, size = c(10L, 100L))
x |
integer scalar, observed number of responses |
lambda |
positive numeric scalar, parameter |
size |
integer vector, parameter |
binom2pois()
shows how binomial density approaches Poisson density when
n\rightarrow\infty
and p\rightarrow 0
, while holding a constant product np=\lambda
.
binom2pois()
returns a 'binom2pois'
object, for which
a print method, an autolayer and an autoplot method are defined.
binom2pois(x = 4L, lambda = 6, size = seq.int(10L, 50L, by = 10L))