POISSON: Factory for a POISSON distribution using confidence intervals

Description Usage Arguments Value Author(s) Examples

Description

Returns an POISSON distribution object that produce random numbers from a Poisson distribution using the rpois function

Usage

1
new_POISSON(p_lambda, p_dimnames = "rvar")

Arguments

p_lambda

A numeric that represents the expected number of events

p_dimnames

A character that represents the name of the dimension

Value

An object of class DISTRIBUTION, POISSON

Author(s)

John J. Aponte

Examples

1
2
myDistr <- new_POISSON(5)
myDistr$rfunc(10)

convdistr documentation built on April 20, 2021, 9:06 a.m.