negbinomial: Family function for negative binomial GLMs.

Description Usage Arguments Value

View source: R/misc.R

Description

Provides the information required to apply a sparse SGLMM to conditionally negative binomial outcomes.

Usage

1
negbinomial(theta = stop("'theta' must be specified."), link = "log")

Arguments

theta

the dispersion parameter (must be positive).

link

the link function, as a character string, name, or one-element character vector, specifying one of log, sqrt, or identity, or an object of class “link-glm

Value

An object of class “family”, a list of functions and expressions needed to fit a negative binomial GLM.


ngspatial documentation built on July 2, 2020, 12:01 a.m.