weights_density: Density of a weights matrix

Description Usage Arguments Value Examples

View source: R/weights.R

Description

Get density computed from weights matrix

Usage

1

Arguments

gda_w

A Weight object

Value

Value of the weight matrix density

Examples

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_density(queen_w)

## End(Not run)

lixun910/rgeoda documentation built on March 19, 2021, 3:49 p.m.