Function for interaction detector calculation and visualization.
The types of interactions
include "Enhance, nonlinear", "Independent", "Enhance, bi-",
"Weaken, uni-" and "Weaken, nonlinear".
Usage
gdinteract(formula, data = NULL)
# S3 method for gdinteract
print(x, ...)
# S3 method for gdinteract
plot(x, ...)
Arguments
formula
A formula of response and explanatory variables
data
A data.frame includes response and explanatory variables
# NOT RUN {gi1 <- gdinteract(NDVIchange ~ Climatezone + Mining, data = ndvi_40)
gi1
# }# NOT RUN {data <- ndvi_40[,1:3]
gi2 <- gdinteract(NDVIchange ~ ., data = data)
gi2
# }# NOT RUN {# }