min_neighbors | R Documentation |
Get the number of minimum neighbors of spatial weights
min_neighbors(gda_w)
gda_w |
A Weight object |
The number of minimum neighbors of spatial weights
## Not run:
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
min_neighbors(queen_w)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.