Learn R Programming

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

mgcv (version 0.9-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.9-3

License

GPL version 2 or later

Maintainer

Simon Wood

Last Published

November 7th, 2025

Functions in mgcv (0.9-3)

QT

QT factorisation of a matrix
GAMsetup

Set up GAM using penalized regression splines
plot.gam

Default GAM plotting
vis.gam

Visualization of GAM objects
gam.neg.bin

GAMs with the negative binomial distribution
residuals.gam

Generalized Additive Model residuals
mgcv

Multiple Smoothing Parameter Estimation by GCV or UBRE
summary.gam

Summary for a GAM fit
mono.con

Monotonicity constraints for a cubic regression spline.
gam.models

Specifying generalized Additive Models.
exclude.too.far

Exclude prediction grid points too far from data
gam.control

Setting GAM fitting defaults
null.space.dimension

The basis of the space of un-penalized functions for a t.p.r.s.
magic.post.proc

Auxilliary information from magic fit
gam.side.conditions

Identifiability side conditions for a GAM.
s

Defining smooths in GAM formulae
predict.gam

Prediction from fitted GAM model
uniquecombs

find the unique rows in a matrix
full.score

GCV/UBRE score for use withn nlm
print.gam

Generalized Additive Model default print statement
gam.fit

Generalized Additive Models fitting using penalized regression splines and GCV
gam

Generalized Additive Models using penalized regression splines and GCV
pcls

Penalized Constrained Least Squares Fitting
gam.check

Some diagnostics for a fitted gam model.
gam.parser

Generalized Additive Model fitting using penalized regression splines and GCV
gam.setup

Generalized Additive Model set up.
magic

Stable Multiple Smoothing Parameter Estimation by GCV or UBRE, with optional fixed penalty
mroot

Smallest square root of matrix
gam.selection

Generalized Additive Model Selection