Description Usage Arguments Value Examples
Get sparsity computed from weights matrix
1 | weights_sparsity(gda_w)
|
gda_w |
A Weight object |
Value of the weight matrix sparsity
1 2 3 4 5 6 7 | ## Not run:
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
queen_w <- queen_weights(guerry)
weights_sparsity(queen_w)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.