Skip to content

glm4

Fitting Generalized Linear Models Using Sparse Matrices

v0.1.0 · Apr 16, 2026 · GPL (>= 2)

Description

Fits Generalised Linear Models (GLMs) with sparse and dense 'Matrix' matrices for memory efficiency. Acts as a wrapper for the glm4() function in the 'MatrixModels' package <doi:10.32614/CRAN.package.MatrixModels>, but adds convenient model methods and functions designed to mimic those associated with the glm() function from the 'stats' package.

Downloads

CRAN

371

Last 30 days

10732nd

1K

Last 90 days

1K

Last year

Trend: -18.8% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

21

Last 90 days

21

Last year

Trend: -50% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 5 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-oldrel-macos-x86_64

examples

Running examples in ‘glm4-Ex.R’ failed
The error most likely occurred in:

> ### Name: influence.glm4
> ### Title: Regression Diagnostics
> ### Aliases: influence.glm4
> ### Keywords: internal
> 
> ### ** Examples
> 
> ## Analysis of the life-cycle s
...[truncated]...
= chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
> 
> qRes <- qr(lm.SR) # == lm.SR $ qr
> qrI <- qr.influence(qRes, residuals(lm.SR))
Error in qr.influence(qRes, residuals(lm.SR)) : 
  could not find function "qr.influence"
Execution halted
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'glm4-Ex.R' failed
The error most likely occurred in:

> ### Name: influence.glm4
> ### Title: Regression Diagnostics
> ### Aliases: influence.glm4
> ### Keywords: internal
> 
> ### ** Examples
> 
> ## Analysis of the life-cycle s
...[truncated]...
= chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
> 
> qRes <- qr(lm.SR) # == lm.SR $ qr
> qrI <- qr.influence(qRes, residuals(lm.SR))
Error in qr.influence(qRes, residuals(lm.SR)) : 
  could not find function "qr.influence"
Execution halted
OK 3 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 17, 2026

Dependency Network

Dependencies Reverse dependencies Matrix MatrixModels glm4

Version History

1 tracked
new 0.1.0 Apr 16, 2026