powered by
Spatial stratified heterogeneity test based on geographical detector q value.
ssh_test(y, hs)
A tibble
tibble
Variable Y, continuous numeric vector.
Spatial stratification or classification of each explanatory variable. factor, character, integer or data.frame, tibble and sf object.
factor
character
integer
data.frame
sf
ssh_test(y = 1:7, hs = c('x',rep('y',3),rep('z',3)))
Run the code above in your browser using DataLab