ecological_detector {gdverse} | R Documentation |
Compare the effects of two factors X_1
and X_2
on the spatial distribution of the attribute Y
.
ecological_detector(y, x1, x2, alpha = 0.95)
y |
Dependent variable, continuous numeric vector. |
x1 |
Covariate |
x2 |
Covariate |
alpha |
(optional) Confidence level of the interval,default is |
A list.
F-statistic
the result of F statistic for ecological detector
P-value
the result of P value for ecological detector
Ecological
is there a significant difference between the two factors X_1
and X_2
on the spatial distribution of the attribute Y
Wenbo Lv lyu.geosocial@gmail.com
ecological_detector(y = 1:7,
x1 = c('x',rep('y',3),rep('z',3)),
x2 = c(rep('a',2),rep('b',2),rep('c',3)))