gd: Geographical detectors: factor detector.

View source: R/gd.R

gdR Documentation

Geographical detectors: factor detector.

Description

Function for calculating power determinant using factor detector of geographical detectors and visualization.

Usage

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

Arguments

formula

A formula of response and explanatory variables

data

A data.frame includes response and explanatory variables

x

A list of factor detector results

sig

If TRUE, only spatial associations that are significant at the 0.05 level will be plotted; If FALSE, all spatial associations will be plotted.

...

Ignore

Examples

g1 <- gd(NDVIchange ~ Climatezone + Mining, data = ndvi_40)
g1
plot(g1)


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