Other packages > Find by keyword >

mgcv  

Mixed GAM Computation Vehicle with Automatic Smoothness Estimation
View on CRAN: Click here


Download and install mgcv package within the R console
Install from CRAN:
install.packages("mgcv")

Install from Github:
library("remotes")
install_github("cran/mgcv")

Install by package version:
library("remotes")
install_version("mgcv", "1.9-4")



Attach the package and use:
library("mgcv")
Maintained by
Simon Wood
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2000-10-04
Latest Update: 2025-04-04
Description:
Generalized additive (mixed) models, some of their extensions and other generalized ridge regression with multiple smoothing parameter estimation by (Restricted) Marginal Likelihood, Generalized Cross Validation and similar, or using iterated nested Laplace approximation for fully Bayesian inference. See Wood (2017) for an overview. Includes a gam() function, a wide variety of smoothers, 'JAGS' support and distributions beyond the exponential family.
How to cite:
Simon Wood (2000). mgcv: Mixed GAM Computation Vehicle with Automatic Smoothness Estimation. R package version 1.9-4, https://cran.r-project.org/web/packages/mgcv. Accessed 15 Sep. 2026.
Previous versions and publish date:
(2026-07-09 06:30), 0.1-1 (2000-10-04 17:09), 0.2-1 (2000-10-25 07:50), 0.3-1 (2000-12-08 21:33), 0.3-2 (2000-12-12 12:36), 0.4-0 (2001-01-05 16:57), 0.5-0 (2001-04-09 19:25), 0.5-1 (2001-06-25 14:18), 0.5-3 (2001-08-31 23:00), 0.6-1 (2001-12-19 17:40), 0.6-2 (2001-12-20 15:15), 0.7-0 (2002-01-16 13:52), 0.7-1 (2002-01-28 17:21), 0.7-2 (2002-03-31 08:41), 0.8-0 (2002-05-05 19:44), 0.8-1 (2002-05-17 09:32), 0.8-2 (2002-09-09 15:04), 0.8-3 (2002-09-11 14:33), 0.8-4 (2002-10-04 12:37), 0.8-5 (2002-10-22 17:18), 0.8-6 (2002-10-30 11:52), 0.8-7 (2002-11-06 09:12), 0.8-8 (2003-04-07 16:15), 0.8-9 (2003-06-15 00:16), 0.9-1 (2003-09-16 18:46), 0.9-2 (2003-09-16 20:33), 0.9-3.1 (2003-10-03 16:15), 0.9-3 (2003-09-24 19:03), 0.9-4 (2003-10-08 17:23), 0.9-5 (2003-10-19 00:23), 0.9-6 (2003-11-04 18:24), 1.0-5 (2004-04-12 14:50), 1.0-7 (2004-05-18 20:50), 1.0-8 (2004-05-26 13:48), 1.0-9 (2004-06-17 17:33), 1.1-1.1 (2004-09-12 20:05), 1.1-1 (2004-09-11 09:18), 1.1-2 (2004-09-15 15:15), 1.1-3 (2004-09-25 11:07), 1.1-4 (2004-09-29 13:53), 1.1-5 (2004-10-01 08:31), 1.1-7 (2004-10-20 15:33), 1.1-8 (2004-11-12 16:00), 1.2-0 (2005-03-10 19:48), 1.2-1 (2005-03-26 22:52), 1.2-2 (2005-04-07 17:33), 1.2-3 (2005-04-10 23:14), 1.2-4 (2005-04-19 09:20), 1.2-5 (2005-05-19 07:22), 1.2-6 (2005-05-25 13:10), 1.3-0 (2005-05-30 12:56), 1.3-1 (2005-06-08 18:49), 1.3-2 (2005-06-21 09:34), 1.3-3 (2005-06-30 16:24), 1.3-4 (2005-07-12 17:00), 1.3-5 (2005-08-11 08:51), 1.3-6 (2005-08-20 23:37), 1.3-7 (2005-08-30 00:31), 1.3-8 (2005-10-16 21:09), 1.3-9 (2005-11-10 19:02), 1.3-10 (2005-11-29 21:03), 1.3-11 (2005-12-11 21:10), 1.3-12 (2005-12-14 15:55), 1.3-13 (2006-01-24 10:21), 1.3-15 (2006-04-12 14:19), 1.3-16 (2006-04-24 13:18), 1.3-17 (2006-05-18 10:38), 1.3-18 (2006-07-21 10:23), 1.3-19 (2006-09-13 10:33), 1.3-20 (2006-10-16 20:38), 1.3-21 (2006-11-21 11:58), 1.3-22 (2006-12-01 09:10), 1.3-23 (2007-03-15 19:49), 1.3-24 (2007-05-07 12:16), 1.3-25 (2007-06-22 11:51), 1.3-26 (2007-08-13 21:58), 1.3-27 (2007-09-27 10:01), 1.3-28 (2007-10-10 12:23), 1.3-29 (2007-11-17 10:41), 1.3-30 (2008-04-03 18:28), 1.3-31 (2008-04-29 20:16), 1.4-0 (2008-06-08 17:14), 1.4-1.1 (2008-12-13 12:36), 1.4-1 (2008-06-19 08:43), 1.4-2 (2009-02-13 13:24), 1.5-0 (2009-03-03 20:46), 1.5-1 (2009-03-17 19:17), 1.5-2 (2009-03-26 19:26), 1.5-3 (2009-04-22 18:02), 1.5-4 (2009-05-04 12:19), 1.5-5 (2009-05-15 13:26), 1.5-6 (2009-09-12 14:18), 1.6-0 (2009-11-18 18:01), 1.6-1 (2009-12-01 18:19), 1.6-2 (2010-04-27 21:10), 1.7-0 (2010-11-03 08:42), 1.7-1 (2010-11-08 08:32), 1.7-2 (2010-11-13 16:19), 1.7-3 (2011-02-14 20:21), 1.7-4 (2011-03-09 16:04), 1.7-5 (2011-03-26 16:44), 1.7-6 (2011-04-14 19:02), 1.7-7 (2011-10-08 08:44), 1.7-8 (2011-10-10 19:52), 1.7-9 (2011-10-20 13:21), 1.7-10 (2011-11-02 18:26), 1.7-11 (2011-11-14 10:58), 1.7-12 (2011-12-12 13:21), 1.7-13 (2012-01-22 10:59), 1.7-14 (2012-04-27 08:09), 1.7-16 (2012-04-30 10:22), 1.7-17 (2012-05-23 11:44), 1.7-18 (2012-06-12 13:02), 1.7-19 (2012-07-20 07:00), 1.7-20 (2012-08-24 21:00), 1.7-21 (2012-09-18 16:45), 1.7-22 (2012-10-15 13:20), 1.7-23 (2013-05-20 22:23), 1.7-24 (2013-06-05 10:34), 1.7-26 (2013-09-06 11:31), 1.7-27 (2013-10-01 09:49), 1.7-28 (2014-01-29 19:02), 1.7-29 (2014-03-31 08:57), 1.8-0 (2014-06-25 09:05), 1.8-1 (2014-07-06 00:16), 1.8-2 (2014-07-21 12:12), 1.8-3 (2014-08-29 22:07), 1.8-4 (2014-11-27 13:16), 1.8-5 (2015-03-03 09:18), 1.8-6 (2015-03-31 12:46), 1.8-7 (2015-07-23 07:05), 1.8-8 (2015-10-24 09:17), 1.8-9 (2015-10-30 10:53), 1.8-10 (2015-12-12 18:49), 1.8-11 (2016-01-24 00:08), 1.8-12 (2016-03-03 07:57), 1.8-13 (2016-07-21 19:18), 1.8-14 (2016-08-20 12:07), 1.8-15 (2016-09-14 18:51), 1.8-16 (2016-11-07 19:28), 1.8-17 (2017-02-16 09:57), 1.8-18 (2017-08-02 15:32), 1.8-19 (2017-09-01 13:37), 1.8-20 (2017-09-14 18:08), 1.8-21 (2017-09-17 21:24), 1.8-22 (2017-09-24 17:24), 1.8-23 (2018-01-21 19:59), 1.8-24 (2018-06-23 18:07), 1.8-25 (2018-10-26 16:50), 1.8-26 (2018-11-21 12:50), 1.8-27 (2019-02-06 16:00), 1.8-28 (2019-03-21 12:40), 1.8-29 (2019-09-20 12:00), 1.8-30 (2019-10-24 22:00), 1.8-31 (2019-11-09 06:30), 1.8-32 (2020-08-19 17:40), 1.8-33 (2020-08-27 10:30), 1.8-34 (2021-02-16 19:50), 1.8-35 (2021-04-18 11:50), 1.8-36 (2021-06-01 11:50), 1.8-37 (2021-09-23 12:30), 1.8-38 (2021-10-06 06:20), 1.8-39 (2022-02-24 18:50), 1.8-40 (2022-03-29 11:50), 1.8-41 (2022-10-21 15:52), 1.8-42 (2023-03-02 13:20), 1.9-0 (2023-07-11 10:40), 1.9-1 (2023-12-21 01:30), 1.9-2 (2025-04-02 16:20), 1.9-3 (2025-04-04 07:40)
Other packages that cited mgcv R package
View mgcv citation profile
Other R packages that mgcv depends, imports, suggests or enhances
Complete documentation for mgcv
Functions, R codes and Examples using the mgcv R package
Some associated functions: Beta . FFdes . NCV . Predict.matrix.cr.smooth . Predict.matrix . Predict.matrix.soap.film . Rrank . Sl.initial.repara . Sl.repara . Sl.setup . Tweedie . XWXd . anova.gam . bam . bam.update . bandchol . blas.thread.test . bug.reports.mgcv . cSplineDes . chol.down . choose.k . cnorm . columb . concurvity . coxph . coxpht . dDeta . dpnorm . exclude.too.far . extract.lme.cov . factor.smooth . family.mgcv . fix.family.link . fixDependence . formXtViX . formula.gam . fs.test . full.score . gam.check . gam.control . gam.convergence . gam.fit . gam.fit3 . gam.fit5.post.proc . gam.mh . gam.models . gam . gam.outer . gam.reparam . gam.scale . gam.selection . gam.side . gam.vcomp . gam2objective . gamObject . gamSim . gamlss.etamu . gamlss.gH . gamm . gammals . gaulss . get.var . gevlss . gfam . ginla . gumbls . identifiability . in.out . inSide . influence.gam . initial.sp . interpret.gam . jagam . k.check . ldTweedie . ldetS . linear.functional.terms . logLik.gam . ls.size . magic . magic.post.proc . mgcv-FAQ . mgcv-package . mgcv-parallel . mini.roots . missing.data . model.matrix.gam . mono.con . mroot . multinom . mvn . negbin . new.name . notExp . notExp2 . null.space.dimension . ocat . one.se.rule . pcls . pdIdnot . pdTens . pen.edf . place.knots . plot.gam . polys.plot . predict.bam . predict.gam . print.gam . psum.chisq . qq.gam . rTweedie . random.effects . residuals.gam . rig . rmvn . s . scat . sdiag . shash . single.index . slanczos . smooth.construct.ad.smooth.spec . smooth.construct.bs.smooth.spec . smooth.construct.cr.smooth.spec . smooth.construct.ds.smooth.spec . smooth.construct.fs.smooth.spec . smooth.construct.gp.smooth.spec . smooth.construct.mrf.smooth.spec . smooth.construct . smooth.construct.ps.smooth.spec . smooth.construct.re.smooth.spec . smooth.construct.so.smooth.spec . smooth.construct.sos.smooth.spec . smooth.construct.sz.smooth.spec . smooth.construct.t2.smooth.spec . smooth.construct.tensor.smooth.spec . smooth.construct.tp.smooth.spec . smooth.info . smooth.terms . smooth2random . smoothCon . sp.vcov . spasm.construct . step.gam . summary.gam . t2 . te . tensor.prod.model.matrix . totalPenaltySpace . trichol . trind.generator . twlss . uniquecombs . vcov.gam . vis.gam . ziP . ziplss . 
Some associated R codes: Full mgcv package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RXshrink  
Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression
Functions are provided to calculate and display ridge TRACE Diagnostics for a variety of alternativ ...
Download / Learn more Package Citations See dependency  
CTTinShiny  
Shiny Interface for the CTT Package
A Shiny interface developed in close coordination with the CTT package, providing a GUI that guides ...
Download / Learn more Package Citations See dependency  
objectSignals  
Observer Pattern for S4
A mutable Signal object can report changes to its state, clients could register functions so that t ...
Download / Learn more Package Citations See dependency  
functClust  
Functional Clustering of Redundant Components of a System
Cluster together the components that make up an interactivesystem on the basis of their functional r ...
Download / Learn more Package Citations See dependency  
AFR  
Toolkit for Regression Analysis of Kazakhstan Banking Sector Data
Tool is created for regression, prediction and forecast analysis of macroeconomic and credit data. ...
Download / Learn more Package Citations See dependency  
SiER  
Signal Extraction Approach for Sparse Multivariate Response Regression
Methods for regression with high-dimensional predictors andunivariate or maltivariate response varia ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA