negbinomial {ngspatial}R Documentation

Family function for negative binomial GLMs.

Description

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

Usage

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.


[Package ngspatial version 1.2-2 Index]