global_moran {sfdep} | R Documentation |
Calculate Global Moran's I
Description
Calculate Global Moran's I
Usage
global_moran(x, nb, wt, na_ok = FALSE, ...)
Arguments
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 |
Value
an htest
object
See Also
Other global_moran:
global_moran_bv()
,
global_moran_perm()
,
global_moran_test()
,
local_moran_bv()
Examples
nb <- guerry_nb$nb
wt <- guerry_nb$wt
x <- guerry_nb$crime_pers
moran <- global_moran(x, nb, wt)
[Package sfdep version 0.2.4 Index]