powered by
Check if weights matrix is symmetric
is_symmetric(gda_w)
A boolean value indicates if weights matrix is symmetric
A Weight object
if (FALSE) { guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda") guerry <- st_read(guerry_path) queen_w <- queen_weights(guerry) is_symmetric(queen_w) }
Run the code above in your browser using DataLab