Learn R Programming

gdverse (version 1.3-3)

gozh_detector: geographically optimal zones-based heterogeneity detector

Description

Function for geographically optimal zones-based heterogeneity detector.

Usage

gozh_detector(formula, data, cores = 1, type = "factor", alpha = 0.95, ...)

Value

A list of tibble with the corresponding result under different detector types.

factor

the result of factor detector

interaction

the result of interaction detector

risk

the result of risk detector

ecological

the result of ecological detector

Arguments

formula

A formula of GOZH detector.

data

A data.frame or tibble of observation data.

cores

(optional) Positive integer (default is 1). When cores are greater than 1, use multi-core parallel computing.

type

(optional) The type of geographical detector,which must be one of factor(default), interaction, risk, ecological.

alpha

(optional) Confidence level of the interval,default is 0.95.

...

(optional) Other arguments passed to rpart_disc().

References

Luo, P., Song, Y., Huang, X., Ma, H., Liu, J., Yao, Y., & Meng, L. (2022). Identifying determinants of spatio-temporal disparities in soil moisture of the Northern Hemisphere using a geographically optimal zones-based heterogeneity model. ISPRS Journal of Photogrammetry and Remote Sensing: Official Publication of the International Society for Photogrammetry and Remote Sensing (ISPRS), 185, 111–128. https://doi.org/10.1016/j.isprsjprs.2022.01.009

Examples

Run this code
data('ndvi')
g = gozh_detector(NDVIchange ~ ., data = ndvi)
g

Run the code above in your browser using DataLab