Function for interaction detector calculation and visualization. The types of interactions include "Enhance, nonlinear", "Independent", "Enhance, bi-", "Weaken, uni-" and "Weaken, nonlinear".
Examples
gi1 <- gdinteract(NDVIchange ~ Climatezone + Mining, data = ndvi_40)
gi1
#> Interaction detector:
#> variable Climatezone Mining
#> 1 Climatezone NA NA
#> 2 Mining 0.8345 NA
# \donttest{
data <- ndvi_40[,1:3]
gi2 <- gdinteract(NDVIchange ~ ., data = data)
gi2
#> Interaction detector:
#> variable Climatezone Mining
#> 1 Climatezone NA NA
#> 2 Mining 0.8345 NA
# }