Learn R Programming

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

gam (version 0.96)

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

License

GPL2.0

Maintainer

Trevor Hastie

Last Published

December 10th, 2025

Functions in gam (0.96)

plot.gam

Plot Components of a GAM Object
gam.data

Simulated dataset for gam
predict.gam

Predict method for GAM fits
s

Specify a Smoothing Spline Fit in a GAM Formula
na.gam.replace

Missing Data Filter for GAMs
gam.control

Auxilliary for controlling GAM fitting
step.gam

Stepwise model builder for GAM
gam.exact

A method for gam producing asymptotically exact standard errors for linear estimates
anova.gam

Analysis of Deviance for a Generalized Additive Model
gam-internal

Service functions and as yet undocumented functions for the gam library
kyphosis

A classic example dataset for GAMs
gam

Fitting Generalized Additive Models
lo

Specify a loess fit in a GAM formula