gdeco: Geographical detectors: ecological detector.

View source: R/gdeco.R

gdecoR Documentation

Geographical detectors: ecological detector.

Description

Function for ecological detector calculation, ecological matrix and visulization.

Usage

gdeco(formula, data = NULL)
## S3 method for class 'gdeco'
print(x, ...)
## S3 method for class 'gdeco'
plot(x, ...)

Arguments

formula

A formula of response and explanatory variables

data

A data.frame includes response and explanatory variables

x

A list of ecological detector results

...

Ignore

Examples

ge1 <- gdeco(NDVIchange ~ Climatezone + Mining, data = ndvi_40)
ge1

data <- ndvi_40[,1:3]
ge2 <- gdeco(NDVIchange ~ ., data = data)
ge2



GD documentation built on Sept. 18, 2023, 9:09 a.m.