Skip to content

Fitting Generalized Linear Models

13packages dependsuggested by 2
51.4Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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.

Changes in 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)

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
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.

CRAN check page ↗

Slowest check: 50 s · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMENoVignettesNoNEWSYes · 100% structured · mentions 1.2.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

51.4K
CRAN downloads in the past year
Rank #1,975 · ~141/day · ~4.3K/mo
Daily download trend is not available in this view yet.
3.4K30 days
9.4K90 days
51.4K1 year
Compare downloads with other packages →
Also on308 r2u2 autocran1.9K conda_forge107 c2d4u

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing glm2 adds no packages beyond those that come with R.

Depends (2)
R >= 3.2.0stats
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
13direct
3indirect
Imports 13
Suggested by 2
Show all 15 packagesHide all 15 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Maintainer since 1.2 (2018), Contributor · added in 1.2
Author
using code from glm and glm.fit in the stats package

Previously maintained by Ian Marschner (1.0 to 1.1.3).

Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.1Latest
    record
    2018-08-11 · current release · diff ↗
  • 1.2
    record
    2018-05-25 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.3
    record
    2017-10-24 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1.2
    record
    2014-05-07 · diff ↗ ·
    removed 1 export
    pattern:.
    added 1 export
    pattern:^[[:alpha:]]+
Show 8 earlier eventsHide 8 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1.1
    record
    2012-12-07 · diff ↗
  • 1.1
    record
    2012-11-28 · diff ↗ ·
    added 1 export
    pattern:.
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0
    record
    2011-07-23
  • R
    R 2.13.0 released · 2011-04-13

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glm2 version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy