powered by
Check if weights matrix has isolates, or if any observation has no neighbors
has_isolates(gda_w)
A Weight object
A boolean value indicates if weights matrix is symmetric
# NOT RUN { guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda") guerry <- geoda_open(guerry_path) queen_w <- queen_weights(guerry) has_isolates(queen_w) # }
Run the code above in your browser using DataLab