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