mgcv: Mixed GAM Computation Vehicle with Automatic Smoothness Estimation

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) <doi:10.1201/9781315370279> for an overview. Includes a gam() function, a wide variety of smoothers, 'JAGS' support and distributions beyond the exponential family.

Version: 1.9-1
Priority: recommended
Depends: R (≥ 3.6.0), nlme (≥ 3.1-64)
Imports: methods, stats, graphics, Matrix, splines, utils
Suggests: parallel, survival, MASS
Published: 2023-12-21
DOI: 10.32614/CRAN.package.mgcv
Author: Simon Wood
Maintainer: Simon Wood <simon.wood at r-project.org>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: mgcv citation info
Materials: ChangeLog
In views: Bayesian, Econometrics, Environmetrics, MixedModels, Spatial
CRAN checks: mgcv results

Documentation:

Reference manual: mgcv.pdf

Downloads:

Package source: mgcv_1.9-1.tar.gz
Windows binaries: r-devel: mgcv_1.9-1.zip, r-release: mgcv_1.9-1.zip, r-oldrel: mgcv_1.9-1.zip
macOS binaries: r-release (arm64): mgcv_1.9-1.tgz, r-oldrel (arm64): mgcv_1.9-1.tgz, r-release (x86_64): mgcv_1.9-1.tgz, r-oldrel (x86_64): mgcv_1.9-1.tgz
Old sources: mgcv archive

Reverse dependencies:

Reverse depends: additive, bamlss, bgeva, cenGAM, coenoflex, CONCUR, coxed, denseFLMM, dsm, eHOF, fcr, fda.usc, FlexGAM, frailtyMMpen, gaga, gam.hp, gamlss.add, gamlss.spatial, gamm4, gammSlice, gKRLS, hmmTMB, ibr, ismev, itsadug, KnowBR, labdsv, mgcViz, MJMbamlss, mombf, multipleNCC, multiridge, NIRStat, ordPens, PanJen, personalized, qgam, R2BayesX, randnet, scam, semsfa, sparseFLMM, structree, sva, tpSVG, TSVC, TTS, tvem, vagam
Reverse imports: analogue, AnchorRegression, anipaths, APCtools, AQEval, archeoViz, aspline, ATbounds, autoFRK, autogam, baker, bayesdfa, baytrends, BioPred, blocs, BNSP, Bodi, brms, buildmer, caffsim, cAIC4, calm, car, casebase, casper, CatPredi, causaldrf, CellTrails, cfda, cgaim, chipenrich, CICI, CIMTx, circularEV, CKLRT, clustra, ClusVis, cohorttools, collin, colordistance, condiments, CondIndTests, crosslag, curvir, cvmaPLFAM, dampack, deepregression, demography, dendRoAnalyst, dirttee, disbayes, discSurv, dlim, dlmtree, dlnm, dsims, ecoCopula, ecostats, ecpc, ef, ega, elastes, emon, enmpa, enmSdmX, Epi, evgam, ez, face, famat, fastFMM, FDboost, flexmsm, flexOR, FLightR, fPASS, fRegression, funreg, funspace, FWDselect, galamm, gamCopula, gamlss.ggplots, gamRR, gapclosing, GeneralisedCovarianceMeasure, geoGAM, ggiraphExtra, ggplot2, GJRM, gllvm, glmmTMB, gmfamm, goeveg, goseq, GPFDA, gplsim, grafify, gratia, groc, Haplin, HiCcompare, HLMdiag, IADT, insurancerating, InteRD, interflex, invacost, iRegression, iSEE, iTensor, itsdm, JWileymisc, KarsTS, kpcalg, ks, LaMa, landsat, LFApp, LMERConvenienceFunctions, lmviz, loa, localIV, logistf, longsurr, lspartition, lumi, LW1949, MBHdesign, MBSGS, MECfda, metabCombiner, metagam, methylKit, mevr, mfaces, MFPCA, mgwrsar, MHCtools, MHTrajectoryR, micemd, mirt, ModelMap, morphomap, mrds, MRFcov, mudfold, multifamm, MUVR2, MvBinary, mvgam, mxfda, NADA2, NBAMSeq, NCC, networkGen, nfl4th, nflfastR, nlraa, npregfast, oddsratio, oddstream, openair, openairmaps, optimalThreshold, ordgam, pagoda2, palaeoSig, pammtools, particles, pcvr, penfa, phenoTest, plsmselect, pmcalibration, PolicyPortfolios, poptrend, ppgam, precmed, predkmeans, presmTP, projpred, psychonetrics, PupillometryR, PupilPre, qfa, Qindex, QRM, r2glmm, RAPTOR, RcmdrPlugin.HH, RCreliability, recolorize, refitME, refreg, refund, registr, reldist, rioja, rlme, RLRsim, roseRF, RPPASPACE, rstpm2, rTG, rticulate, scClassify, scde, SCdeconR, scDesign3, scITD, SCRIP, sdmTMB, sdPrior, secr, SEERaBomb, SEMdeep, SEMgraph, SensMap, seqICP, serosv, sesem, simml, simPH, simsl, sisal, sjSDM, skedastic, slp, smurf, soilhypfit, spatstat.model, srp, SSDM, stacomiR, starsExtra, StatDA, stgam, stopp, tableeasy, TAG, tf, tidygam, tidymv, tidyvpc, Toothnroll, trackeRapp, tradeSeq, tramME, tripEstimation, TSA, TSAR, TSCAN, tsDyn, TSrepr, tukeytrend, Unico, VarSelLCM, vegan, veloviz, vglmer, virtualPollen, vital, voi, voxel, VWPre, weightedGCM, WhiteStripe, wqtrends, WVPlots, xwf, zetadiv
Reverse suggests: adaptMT, agridat, ale, AlleleShift, animint2, auditor, BCEA, bestNormalize, BiodiversityR, biomod2, broom, broom.helpers, broom.mixed, butcher, CalibrationCurves, caret, caretEnsemble, cassowaryr, catdata, circhelp, clarify, CMA, collinear, CompareCausalNetworks, condvis2, ContourFunctions, countSTAR, ctmcmove, cutpointr, DAAG, dataquieR, dbw, densitr, detrendr, DHARMa, DPQ, DynNom, earth, EcoEnsemble, EcoIndR, effectsize, emmeans, ENMTools, fdapace, flexmix, flextable, flowml, ForeCA, freqparcoord, fscaret, gamair, gamclass, gcplyr, GeneralizedUmatrix, ggeffects, ggvis, glmglrt, granova, heemod, HRW, HSAUR2, HSAUR3, influential, inlabru, insight, IRon, latticeExtra, lazyData, LinRegInteractive, lme4, lmls, longRPart2, loon, macleish, Mapinguari, marginaleffects, MatchIt, mediation, metamicrobiomeR, mlt.docreg, modelbased, modelsummary, mpae, multidplyr, MuMIn, munsellinterpol, opera, parameters, parsnip, PAsso, performance, plotluck, polle, probably, ProjectionBasedClustering, pscl, quantregGrowth, rassta, Rcmdr, regionReport, remap, riskRegression, RnBeads, rpanel, rstanarm, RXshrink, sageR, scar, season, see, SentimentAnalysis, sfislands, shapr, simex, SimplyAgree, simstudy, sits, slingshot, spatialEco, spatialrisk, spatialwarnings, Surrogate, targeted, tinycodet, tourr, treedater, vetiver, VGAM, vinereg, weird, xcms
Reverse enhances: diseasemapping, sfsmisc, stargazer

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mgcv to link to this page.