View source: R/global-measures.R
global_moran | R Documentation |
Calculate Global Moran's I
global_moran(x, nb, wt, na_ok = FALSE, ...)
x |
A numeric vector. |
nb |
a neighbor list object for example as created by |
wt |
a weights list as created by |
na_ok |
default |
... |
additional arguments passed to |
an htest
object
Other global_moran:
global_moran_bv()
,
global_moran_perm()
,
global_moran_test()
,
local_moran_bv()
nb <- guerry_nb$nb
wt <- guerry_nb$wt
x <- guerry_nb$crime_pers
moran <- global_moran(x, nb, wt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.