risk_detector {gdverse} | R Documentation |
Determine whether there is a significant difference between the attribute means of two sub regions.
risk_detector(y, x, alpha = 0.95)
y |
Variable Y, continuous numeric vector. |
x |
Covariate X, |
alpha |
(optional) Confidence level of the interval,default is |
A tibble. contains different combinations of covariate X
level and student t-test statistics,
degrees of freedom, p-values, and whether has risk (Yes or No).
Wenbo Lv lyu.geosocial@gmail.com
risk_detector(y = 1:7,
x = c('x',rep('y',3),rep('z',3)))