global_c_perm {sfdep} | R Documentation |
Global C Permutation Test
Description
Global C Permutation Test
Usage
global_c_perm(
x,
nb,
wt,
nsim = 499,
alternative = "greater",
allow_zero = NULL,
...
)
Arguments
x |
A numeric vector. |
nb |
a neighbor list object for example as created by |
wt |
a weights list as created by |
nsim |
number of simulations to run. |
alternative |
default |
allow_zero |
If |
... |
additional arguments passed to |
Value
an object of classes htest
and mc.sim
See Also
Other global_c:
global_c()
,
global_c_test()
Examples
geo <- sf::st_geometry(guerry)
nb <- st_contiguity(geo)
wt <- st_weights(nb)
x <- guerry$crime_pers
global_c_perm(x, nb, wt)
[Package sfdep version 0.2.4 Index]