has_isolates | R Documentation |
Check if weights matrix has isolates, or if any observation has no neighbors
has_isolates(gda_w)
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 <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
has_isolates(queen_w)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.