Fitting Generalized Linear Models
Overview
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.
- Changed
glm2to call the fit function withoutsingular.okwhen the R version is less than 3.5.0, allowing backwards compatibility to 3.2.0. (Thanks to Paul Bailey for the suggestion)
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Mark W. Donoghoe <markdonoghoe@gmail.com>’ Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 5includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 100%
Downloads
Dependencies
Installing glm2 adds no packages beyond those that come with R.
Show all 15 packagesHide all 15 packages
Code & Tests
Datasets
People & History
Previously maintained by Ian Marschner (1.0 to 1.1.3).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.2.1Latest
- 1.22018-05-25 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.1.32017-10-24 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.1.2
Package metadata
- First published
- 2011-07-23
- Total releases
- 7 / 15 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 1.9 KB / 2 files
- Download size
- 12 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("glm2")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.