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


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mgcv")

1.8-28 by Simon Wood, 3 months ago


Browse source code at https://github.com/cran/mgcv


Authors: Simon Wood <[email protected]>


Documentation:   PDF Manual  


Task views: Bayesian Inference, Econometrics, Analysis of Ecological and Environmental Data, Statistics for the Social Sciences


GPL (>= 2) license


Imports methods, stats, graphics, Matrix, splines, utils

Depends on nlme

Suggests parallel, survival, MASS


Imported by AIG, AdaptFitOS, BNSP, BinQuasi, CKLRT, CatPredi, ClusVis, CondIndTests, DHARMa, DSpat, DSsim, Epi, FCGR, FDboost, FLightR, FWDselect, HLMdiag, Haplin, JWileymisc, KMgene, KarsTS, LMERConvenienceFunctions, LW1949, MBHdesign, MBSGS, MFPCA, MHTrajectoryR, MRFcov, ModelMap, MvBinary, Plasmode, QRM, QuasiSeq, RAPTOR, RLRsim, RcmdrPlugin.HH, SEERaBomb, SSDM, StatDA, TSA, TSrepr, VWPre, VarSelLCM, WVPlots, WhiteStripe, analogue, anipaths, apsimr, autoFRK, brms, buildmer, caffsim, car, causaldrf, colordistance, demography, discSurv, dlnm, drsmooth, dtwSat, ebirdst, ega, emon, ez, fRegression, face, funreg, gamCopula, gamRR, gamclass, gamm4.test, geoGAM, ggiraphExtra, ggplot2, gllvm, goeveg, gratia, groc, gsg, iRegression, insurancerating, interflex, kpcalg, ks, landsat, lmviz, loa, localIV, logistf, lspartition, mbgraphic, mirt, mrds, networkGen, npregfast, oddsratio, openair, pammtools, particles, pdp, pitchRx, poptrend, predkmeans, r2glmm, refund, reldist, rioja, rlme, rstpm2, sdPrior, secr, seqICP, sesem, simPH, simml, sisal, slp, smurf, snht, spatstat, srp, stacomiR, tidymv, timeSeq, trackeRapp, tripEstimation, tsDyn, tukeytrend, vegan, virtualPollen, vows, voxel, xspliner, xwf, zetadiv.

Depended on by CAM, FlexGAM, GJRM, KnowBR, MAPLES, MPINet, NIRStat, PanJen, R2BayesX, STAR, SemiParSampleSel, TSVC, TTS, bamlss, baytrends, bgeva, cenGAM, coenoflex, coxed, denseFLMM, dlmap, dsm, eHOF, fcr, fda.usc, gamlss.add, gamlss.spatial, gamm4, gammSlice, gvcm.cat, ibr, ismev, itsadug, labdsv, mgcViz, modTempEff, mombf, multipleNCC, nlshelper, nontarget, ordPens, personalized, qgam, reams, robustgam, scam, semsfa, sparseFLMM, structree, trioGxE, vagam.

Suggested by BCEA, BiodiversityR, CompareCausalNetworks, EcoIndR, ForeCA, GeneralizedUmatrix, HRW, HSAUR2, HSAUR3, LinRegInteractive, MatchIt, MuMIn, ProjectionBasedClustering, Rcmdr, RcmdrPlugin.IPSUR, SentimentAnalysis, SpaDES.tools, VGAM, adaptMT, agridat, bestNormalize, biomod2, broom, broom.mixed, cAIC4, caret, catdata, ctmcmove, cutpointr, detrendr, dfConn, diseasemapping, dplyr, dynamichazard, earth, emmeans, fdapace, flexmix, freqparcoord, fscaret, gamair, ggeffects, ggvis, granova, grattan, heemod, inlabru, insight, kernDeepStackNet, latticeExtra, lazyData, longRPart2, macleish, mediation, mlt.docreg, munsellinterpol, myTAI, opera, plotluck, pscl, rpanel, rstanarm, season, simex, simstudy, treedater, vinereg.

Enhanced by sfsmisc, stargazer, texreg.


See at CRAN