risk_detector {gdverse} | R Documentation |
risk detector
Description
Determine whether there is a significant difference between the attribute means of two sub regions.
Usage
risk_detector(y, x, alpha = 0.95)
Arguments
y |
Variable Y, continuous numeric vector. |
x |
Covariate X, |
alpha |
(optional) Confidence level of the interval,default is |
Value
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).
Author(s)
Wenbo Lv lyu.geosocial@gmail.com
Examples
risk_detector(y = 1:7,
x = c('x',rep('y',3),rep('z',3)))
[Package gdverse version 1.0-1 Index]