gd {gdverse} | R Documentation |
Function for native geographical detector model.
gd(formula, data, type = "factor", alpha = 0.95)
formula |
A formula of geographical detector model. |
data |
A data.frame or tibble of observation data. |
type |
(optional) The type of geographical detector, which must be one of |
alpha |
(optional) Specifies the size of the alpha (confidence level). Default is |
A list of the GD model result.
factor
the result of factor detector
interaction
the result of interaction detector
risk
the result of risk detector
ecological
the result of ecological detector
Wenbo Lv lyu.geosocial@gmail.com
Jin‐Feng Wang, Xin‐Hu Li, George Christakos, Yi‐Lan Liao, Tin Zhang, XueGu & Xiao‐Ying Zheng (2010) Geographical Detectors‐Based Health Risk Assessment and its Application in the Neural Tube Defects Study of the Heshun Region, China, International Journal of Geographical Information Science, 24:1, 107-127, DOI: 10.1080/13658810802443457
data("NTDs")
g = gd(incidence ~ watershed + elevation + soiltype,
data = NTDs,type = c('factor','interaction'))
g