moran_test | R Documentation |
Conduct a Moran's I test
moran_test(data, x, nb, wt, ...)
Other stats:
geary_test()
,
local_moran()
,
moran_mc()
,
st_lag()
,
st_nb_dists()
acs %>% mutate(nb = st_neighbors(geometry), wt = st_weights(nb)) %>% moran_test(bach, nb, wt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.