fastglm.nb: Fit a negative binomial generalized linear model

Description Usage Arguments See Also

View source: R/fastglm_nb.R

Description

A modification of the function glm.nb to reduce time and memory consumption

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## S3 method for class 'nb'
fastglm(
  formula,
  data,
  weights,
  subset,
  na.action,
  start = NULL,
  etastart,
  mustart,
  control = glm.control(...),
  method = "glm.fit",
  model = TRUE,
  x = FALSE,
  y = TRUE,
  contrasts = NULL,
  ...,
  init.theta = NULL,
  link = log
)

Arguments

formula

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

data

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

weights

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

subset

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

na.action

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

start

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

etastart

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

mustart

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

control

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

method

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

model

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

x

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

y

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

contrasts

arguments for the glm() function. Note that these exclude family and offset (but offset() can be used).

...

Additional parameters

init.theta

Optional initial value for the theta parameter. If omitted a moment estimator after an initial fit using a Poisson GLM is used.

link

The link function. Currently must be one of log, sqrt or identity.

See Also

fastglm.nb ; theta.ml ; glm.nb


linogaliana/gravity documentation built on April 24, 2020, 2:06 a.m.