Learn R Programming

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

mgcv (version 0.8-9)

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

57,632

Version

0.8-9

License

GPL version 2 or later

Maintainer

Simon Wood

Last Published

April 4th, 2025

Functions in mgcv (0.8-9)

gam.fit

Generalized Additive Models fitting using penalized regression splines and GCV
GAMsetup

Set up GAM using penalized regression splines
predict.gam

Prediction from fitted GAM model
uniquecombs

find the unique rows in a matrix
residuals.gam

Generalized Additive Model residuals
gam

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

Generalized Additive Model default print statement
neg.binom

Family function for Negative Binomial GAMs
QT

QT factorisation of a matrix
pcls

Penalized Constrained Least Squares Fitting
plot.gam

Default GAM plotting
summary.gam

Summary for a GAM fit
gam.selection

Generalized Additive Model Selection
mgcv

Multiple Smoothing Parameter Estimation by GCV or UBRE
gam.check

Some diagnostics for a fitted gam model.
gam.models

Specifying generalized Additive Models.
s

Defining smooths in GAM formulae
gam.side.conditions

Identifiability side conditions for a GAM.
gam.setup

Generalized Additive Model set up.
gam.control

Setting Generalized Additive Models fitting defaults
mono.con

Monotonicity constraints for a cubic regression spline.
theta.maxl

Estimate theta of the Negative Binomial by Maximum Likelihood
gam.parser

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

Generalized Additive Models using Negative Binomial errors with unknown theta
null.space.dimension

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

Perspective Plot of GAM objects
get.family

Identifies families