Generalized Additive Models
Overview
Functions for fitting and working with generalized additive models, as described in chapter 7 of "Statistical Models in S" (Chambers and Hastie (eds), 1991), and "Generalized Additive Models" (Hastie and Tibshirani, 1990).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 17 (1 internal)includes a package overview page
- Examples that run
- 86%12 run in a plain check · 2 never run
- Exported functions with examples
- 93%
- Documented parameters
- 95%
- Return-value docs
- 86%
- Help pages citing references
- 76%
Downloads
Dependencies
Installing gam adds 2 packages (0 with compiled code, 381 KB of source tarballs). Heaviest: iterators 293 KB, foreach 88 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.22-7Latest
- 1.22-62025-08-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.22-52024-09-13 · diff ↗
- 1.22-42024-07-18 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.22-32023-11-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.22-22023-03-28 · diff ↗
- 1.22-12023-01-28 · diff ↗
- 1.222022-11-08 · diff ↗ ·
removed 1 export
gplot.defaultadded 7 exports
anova.Gam, labels.Gam, plot.preplot.Gam, preplot.Gam, print.Gam, print.Gamex, print.summary.Gam - 1.20.22022-07-04 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.20.12022-03-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 52 earlier eventsHide 52 earlier events
- 1.202020-07-05 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.16.12019-07-03 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.162018-07-20 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.152018-02-25 · diff ↗ ·
removed 7 exports
anova.gamlist, gamlist, newdata.predict.gam, plot.gam, predict.gam, step.gam, summary.gamadded 7 exports
anova.Gamlist, Gamlist, newdata.predict.Gam, plot.Gam, predict.Gam, step.Gam, summary.Gam - 1.14-42017-04-25 · diff ↗
- 1.14-32017-04-21 · diff ↗ ·
removed 2 exports
gam.slist, gam.wlistadded 2 exports
gam.smooth.list, gam.smoothers - RR 3.4.0 released · 2017-04-21
- 1.142016-09-10 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.122015-05-13 · diff ↗ ·
removed 4 exports
all.wam, deviance.default, deviance.glm, deviance.lmadded 1 export
general.wam - RR 3.2.0 released · 2015-04-16
- 1.09.12014-04-10 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.092013-08-13 · diff ↗
- 1.082013-04-24 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 1.06.22011-12-06 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.04.12011-05-16 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.042011-01-03 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 1.032010-05-01 · diff ↗
- 1.022010-04-25 · diff ↗
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 1.01
- 1.0.12009-09-12 · diff ↗
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- 1.02008-05-29 · diff ↗ ·
added 40 exports
all.wam, anova.gamlist, as.anova, as.data.frame.lo.smooth, assign.list, deviance.default, deviance.glm, deviance.lm, gam, gam.control, gam.exact, gam.fit, gamlist, gam.lo, gam.match, gam.nlchisq, gam.random, gam.s, gam.scope, gam.slist, gam.sp, gam.wlist, gplot, gplot.default, gplot.factor, gplot.list, gplot.matrix, gplot.numeric, lo, lo.wam and 10 more - RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 0.982006-12-27 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 0.972006-07-12 · diff ↗
- 0.962006-04-27 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 0.952006-04-19 · diff ↗
- RR 2.2.0 released · 2005-10-06
- 0.942005-06-04 · diff ↗
- RR 2.1.0 released · 2005-04-18
- 0.932005-03-28 · diff ↗
- 0.922004-12-27 · diff ↗
- RR 2.0.0 released · 2004-10-04
- 0.92004-08-11
- RR 1.9.0 released · 2004-04-12
Package metadata
- First published
- 2004-08-11
- Total releases
- 37 / 22 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 5.0 KB / 3 files
- Download size
- 198 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gam")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.