View source: R/global-measures.R
global_c_perm | R Documentation |
Global C Permutation Test
global_c_perm(
x,
nb,
wt,
nsim = 499,
alternative = "greater",
allow_zero = NULL,
...
)
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 |
an object of classes htest
and mc.sim
Other global_c:
global_c()
,
global_c_test()
geo <- sf::st_geometry(guerry)
nb <- st_contiguity(geo)
wt <- st_weights(nb)
x <- guerry$crime_pers
global_c_perm(x, nb, wt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.