Learn R Programming

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

mgcv (version 0.7-2)

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

License

GPL version 2 or later

Maintainer

Simon Wood

Last Published

April 4th, 2025

Functions in mgcv (0.7-2)

gam.fit

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

Perspective Plot of GAM objects
print.gam

Generalized Additive Model default print statement
plot.gam

Default GAM plotting
theta.maxl

Estimate theta of the Negative Binomial by Maximum Likelihood
neg.binom

Family function for Negative Binomial GAMs
mono.con

Monotonicity constraints for a cubic regression spline.
residuals.gam

Generalized Additive Model residuals
gam.parser

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

Summary for a GAM fit
pcls

Penalized Constrained Least Squares Fitting
predict.gam

Prediction from fitted GAM model
gam.nbut

Generalized Additive Models using Negative Binomial errors with unknown theta
mgcv

Multiple Smoothing Parameter Estimation by GCV or UBRE
SANtest

Example of simple additive GAM using penalized regression splines.
gam

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

Setting Generalized Additive Models fitting defaults
GAMsetup

Set up GAM using penalized cubic regression splines
get.family

Identifies families
null.space.dimension

Dimension of the space of un-penalized functions.
gam.setup

Generalized Additive Model set up.
QT

QT factorisation of a matrix
s

Defining smooths in GAM formulae
uniquecombs

find the unique rows in a matrix