powered by
Compute Geary's C
global_c(x, nb, wt, allow_zero = NULL)
a list with two names elements C and K returning the value of Geary's C and sample kurtosis respectively.
C
K
A numeric vector.
a neighbor list object for example as created by st_contiguity().
st_contiguity()
a weights list as created by st_weights().
st_weights()
If TRUE, assigns zero as lagged value to zone without neighbors.
TRUE
Other global_c: global_c_perm(), global_c_test()
global_c_perm()
global_c_test()
nb <- guerry_nb$nb wt <- guerry_nb$wt x <- guerry_nb$crime_pers global_c(x, nb, wt)
Run the code above in your browser using DataLab