rzanbinom: Zero altered negative binomial

View source: R/zeroinflated_nbinomial.R

rzanbinomR Documentation

Zero altered negative binomial

Description

Zero altered negative binomial

Usage

rzanbinom(n, mu, size, prob, tol = 2e-10)

Arguments

n

number of random values to return.

mu

alternative parametrization via mean: see ‘Details’.

size

target for number of successful trials, or dispersion parameter (the shape parameter of the gamma mixing distribution). Must be strictly positive, need not be integer.

prob

the point mass of zero

tol

the tolerance for low numbers


inbo/inlatools documentation built on Oct. 10, 2024, 8:11 a.m.