powered by
Global Moran Permutation Test
global_moran_perm(x, nb, wt, alternative = "two.sided", nsim = 499, ...)
an object of classes htest, and mc.sim.
htest
mc.sim
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()
default "two.sided". Should be one of "greater", "less", or "two.sided" to specify the alternative hypothesis.
"two.sided"
"greater"
"less"
number of simulations to run.
additional arguments passed to spdep::moran.mc()
spdep::moran.mc()
Other global_moran: global_moran(), global_moran_bv(), global_moran_test(), local_moran_bv()
global_moran()
global_moran_bv()
global_moran_test()
local_moran_bv()
nb <- guerry_nb$nb wt <- guerry_nb$wt x <- guerry_nb$crime_pers moran <- global_moran_perm(x, nb, wt) moran
Run the code above in your browser using DataLab