Last chance! 50% off unlimited learning
Sale ends in
Get the number of mean neighbors of spatial weights
mean_neighbors(gda_w)
The number of mean neighbors of spatial weights
A Weight object
if (FALSE) {
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
mean_neighbors(queen_w)
}
Run the code above in your browser using DataLab