Learn R Programming

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

mgcv (version 0.8-3)

Multiple smoothing parameter estimation and GAMs by GCV

Description

Routines for GAMs and other generalized ridge regression problems with multiple smoothing parameter selection by GCV or UBRE. Includes an implementation (not a clone) of gam().

Copy Link

Version

Install

install.packages('mgcv')

Monthly Downloads

97,913

Version

0.8-3

License

GPL version 2 or later

Maintainer

Simon Wood

Last Published

November 7th, 2025

Functions in mgcv (0.8-3)

neg.binom

Family function for Negative Binomial GAMs
plot.gam

Default GAM plotting
gam.nbut

Generalized Additive Models using Negative Binomial errors with unknown theta
gam

Generalized Additive Models using penalized regression splines and GCV
gam.selection

Generalized Additive Model Selection
gam.control

Setting Generalized Additive Models fitting defaults
mgcv

Multiple Smoothing Parameter Estimation by GCV or UBRE
get.family

Identifies families
mono.con

Monotonicity constraints for a cubic regression spline.
predict.gam

Prediction from fitted GAM model
gam.parser

Generalized Additive Model fitting using penalized regression splines and GCV
theta.maxl

Estimate theta of the Negative Binomial by Maximum Likelihood
GAMsetup

Set up GAM using penalized regression splines
summary.gam

Summary for a GAM fit
persp.gam

Perspective Plot of GAM objects
QT

QT factorisation of a matrix
s

Defining smooths in GAM formulae
null.space.dimension

The basis of the space of un-penalized functions for a t.p.r.s.
gam.setup

Generalized Additive Model set up.
residuals.gam

Generalized Additive Model residuals
gam.check

Some diagnostics for a fitted gam model.
gam.fit

Generalized Additive Models fitting using penalized regression splines and GCV
gam.models

Specifying generalized Additive Models.
print.gam

Generalized Additive Model default print statement
gam.side.conditions

Identifiability side conditions for a GAM.
uniquecombs

find the unique rows in a matrix
pcls

Penalized Constrained Least Squares Fitting