neg.binom {mgcv} | R Documentation |
Specifies the information required to fit a negative binomial generalized
additive model, with known or unknown theta
parameter, using
gam()
and gam.nbut()
. The code is a minor modification of
negative.binomial
from library(MASS)
.
neg.binom(theta=NA, link="log")
theta |
The known value of the additional parameter, theta , or NA
if this is unknown.
|
link |
The link function. Currently must be one of log , sqrt or identity .
|
A list of functions and expressions needed by gam()
to fit a
generalised additive mode with Negative Binomial errors.