Learn R Programming

WALS (version 0.2.5)

negativeBinomial: Negative binomial family

Description

Reconstruct family object for negative binomial type 2 (NB2) with fixed scale parameter theta. Analogous to negative.binomial in MASS mass2002WALS but MASS uses non-canonical link.

Usage

negativeBinomial(theta, link = "log")

Arguments

theta

dispersion parameter of NB2, always larger than 0.

link

specifies link function, currently only "log" and "canonical" are supported.

References

See Also

family, familyWALS, negbinWALS, negbinFixedWALS.