gd: Geographical detectors: factor detector.

Description Usage Arguments Examples

View source: R/gd.R

Description

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

Usage

1
2
3
4
5
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

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

GD documentation built on April 27, 2021, 9:07 a.m.