rpois: Method rpois

Description Generic function Methods Author(s) See Also Examples

Description

Generates random numbers following a Poisson distribution. lambda, the (non-negative) mean can be specified as an object of class FLQuant.

Generic function

rpois(n, lambda)

Methods

signature(n=numeric, lambda=FLQuant) :

Generate a Poisson-distributed FLQuant object with 'n' iters.

Author(s)

The FLR Team

See Also

rpois, FLQuant

Examples

1
2
   data(ple4)
   rpois(50,lambda=harvest(ple4))

FLCore documentation built on May 2, 2019, 5:46 p.m.