Fitting Generalized Linear Models

Fits generalized linear models using the same model specification as glm in the stats package, but with a modified default fitting method that provides greater stability for models that may fail to converge using glm.


News

glm2 1.2.1

  • Changed glm2 to call the fit function without singular.ok when the R version is less than 3.5.0, allowing backwards compatibility to 3.2.0. (Thanks to Paul Bailey for the suggestion)

glm2 1.2

  • glm2 and glm.fit2 now accept singular.ok argument, for compatibility with glm in R 3.5.0.

glm2 1.1.3

  • Removed some examples for compatibility with changes to glm in R 3.5.0.

glm2 1.1.2

  • Pass singular.ok = FALSE to lm.fit so that singular models will stop with an error.

glm2 1.1.1

  • Extract the qr component correctly.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("glm2")

1.2.1 by Mark W. Donoghoe, 7 months ago


Browse source code at https://github.com/cran/glm2


Authors: Ian Marschner [aut] (using code from glm and glm.fit in the stats package) , Mark W. Donoghoe [cre, ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Depends on stats


Imported by Plasmode, addreg, gravity, inctools, logbin, miWQS, wqs, zetadiv.

Suggested by fastglm.


See at CRAN