View source: R/global-measures.R
global_moran_perm | R Documentation |
Global Moran Permutation Test
global_moran_perm(x, nb, wt, alternative = "two.sided", nsim = 499, ...)
x |
A numeric vector. |
nb |
a neighbor list object for example as created by |
wt |
a weights list as created by |
alternative |
default |
nsim |
number of simulations to run. |
... |
additional arguments passed to |
an object of classes htest
, and mc.sim
.
Other global_moran:
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.