Learn R Programming

⚠️There's a newer version (1.22-7) of this package.Take me there.

gam (version 0.94)

Generalized Additive Models

Description

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).

Copy Link

Version

Install

install.packages('gam')

Monthly Downloads

28,423

Version

0.94

License

GPL2.0

Maintainer

Trevor Hastie

Last Published

December 10th, 2025

Functions in gam (0.94)

na.gam.replace

Missing Data Filter for GAMs
gam.control

Auxilliary for controlling GAM fitting
plot.gam

Plot Components of a GAM Object
lo

Specify a loess fit in a GAM formula
step.gam

Stepwise model builder for GAM
kyphosis

A classic example dataset for GAMs
predict.gam

Predict method for GAM fits
gam.data

Simulated dataset for gam
gam-internal

Service functions and as yet undocumented functions for the gam library
anova.gam

Analysis of Deviance for a Generalized Additive Model
s

Specify a Smoothing Spline Fit in a GAM Formula
gam

Fitting Generalized Additive Models