The module constructs new covariates torepresent interactions (and possibly polynomial terms).
addInteraction(.data, which_covs = "pairs", exclude = NULL)
.data
is a list of a data frame and a raster object returned from occurrence modules and covariate modules respectively. .data
is passed automatically in workflow from the occurrence and covariate modules to the process module(s) and should not be passed by the user.Statistical interactions are (mathematically) the product of covariates. This module allows the user to pre-specify which interactions to add to the data. If a four-way interaction between A, B, C and D is desired, it automatically adds all possible two- and three-way interactions as well (obeying the marginality theorem). If the same variable name is provided several times in a vector (e.g. c(A, A, A)), this will lead to a cubic polynomial.
presence-only, presence/absence, abundance, proportion
0
2016-06-15
Other process: AddRandomUniformPredictors
,
BackgroundAndCrossvalid
,
Background
, Bootstrap
,
Clean
, Crossvalidate
,
JitterOccurrence
, MESSMask
,
NoProcess
,
OneHundredBackground
,
OneThousandBackground
,
PartitionDisc
,
StandardiseCov
,
TargetGroupBackground
,
Transform