rborel: Random number generator from the Borel distribution

View source: R/borel.r

rborelR Documentation

Random number generator from the Borel distribution

Description

Random numbers are generated by simulating from a Poisson branching process

Usage

rborel(n, mu, infinite = Inf)

Arguments

n

number of random variates to generate.

mu

mu parameter (the Poisson mean).

infinite

any number to treat as infinite; simulations will be stopped if this number is reached

Value

vector of random numbers

Author(s)

Sebastian Funk


sbfnk/bpmodels documentation built on Feb. 7, 2025, 10:49 p.m.