rpois {FLCore} | R Documentation

## Method rpois

### Description

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

### 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

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

[Package FLCore version 2.2 Index]