Model module to fit a generalized additive model using generalized crossvalidation via the mgcv R package.

mgcv(.df, k = -1, bs = "tp")

Arguments

.df
Internal parameter, do not use in the workflow function. .df is data frame that combines the occurrence
k
the dimension of the basis used to represent the smooth term. The default depends on the number of variables that the smooth is a function of. k should not be less than the dimension of the null space of the penalty for the term (see mgcv::null.space.dimension), but will be reset if it is. See mgcv::choose.k for further information
bs
a two letter character string indicating the (penalized) smoothing basis to use. (eg "tp" for thin plate regression spline, "cr" for cubic regression spline). See mgcv::smooth.terms for an overview of what is available.

Version

1.0

Data type

presence/absence

See also

Other model: BiomodModel, GBM, LogisticRegression, MachineLearn, MaxEnt, MaxLike, MyMaxLike, OptGRaF, QuickGRaF, RandomForest, StochasticLogisticRegression

Author

ZOON Developers, zoonproject@gmail.com