Function for geographically optimal zones-based heterogeneity detector.
gozh_detector(formula, data, cores = 1, type = "factor", alpha = 0.95, ...)
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
A formula of GOZH detector.
A data.frame or tibble of observation data.
(optional) A positive integer(default is 1). If cores > 1, a 'parallel' package cluster with that many cores is created and used. You can also supply a cluster object.
(optional) The type of geographical detector,which must be one of factor
(default),
interaction
, risk
, ecological
.
(optional) Confidence level of the interval,default is 0.95
.
(optional) Other arguments passed to rpart_disc()
.
Wenbo Lv lyu.geosocial@gmail.com
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
data('ndvi')
g = gozh_detector(NDVIchange ~ ., data = ndvi)
g
Run the code above in your browser using DataLab