Learn R Programming

GD (version 1.4)

gdinteract: Calculate interaction detectors and visualization. The types of interactions include "Enhance, nonlinear", "Independent", "Enhance, bi-", "Weaken, uni-" and "Weaken, nonlinear".

Description

Calculate interaction detectors and visualization. The types of interactions include "Enhance, nonlinear", "Independent", "Enhance, bi-", "Weaken, uni-" and "Weaken, nonlinear".

Usage

gdinteract(y, x)
\method{print}{gdinteract}(result)
\method{plot}{gdinteract}(result)

Arguments

y

A numeric vector of response variable

x

A vector or a data.frame of explanatory variables

result

A list of interaction detector results

Examples

Run this code
# NOT RUN {
gi1 <- gdinteract(ndvi_40$NDVIchange, ndvi_40[,2:3])
# gi1

# }

Run the code above in your browser using DataLab