Description Usage Arguments Details Data type Version Date submitted Author(s) See Also
The module constructs new covariates torepresent interactions (and possibly polynomial terms).
1 | addInteraction(.data, which_covs = "pairs", exclude = NULL)
|
.data |
Internal parameter, do not use in the workflow function. |
which_covs |
List with vector(s) of names of covariates to interact, e.g. list(c('A', 'C', 'D')), or 'pairs' for all pairwise interactions. |
exclude |
For option 'pairs', exclude the covariates named from interactions. |
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
Alison Johnston & Carsten F. Dormann, alison.johnston@bto.org
Other process: AddRandomUniformPredictors
,
BackgroundAndCrossvalid
,
Background
, Bootstrap
,
CarolinaWrenValidation
,
Clean
, Crossvalidate
,
JitterOccurrence
,
LonLatToCovariates
, MESSMask
,
NoProcess
,
OneHundredBackground
,
OneThousandBackground
,
PartitionDisc
, RemoveNAs
,
StandardiseCov
,
SubsampleOccurrence
,
TargetGroupBackground
,
Transform
, spThin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.