Nonzero links, density, average links, cardinality, islands, symmetry,
row-stochasticity, Cliff-Ord \(S_0, S_1, S_2\), \(tr(W^2)\),
\(tr(W'W)\), Frobenius norm, diagonal dominance, relative asymmetry,
lower triangle and eigenvalues (Cliff and Ord 1981; spdep
spweights.constants; spatialreg eigenw).
Usage
WeightsSummary(W, eigen = TRUE)
Arguments
- W
Square weights matrix.
- eigen
Compute eigenvalues.
References
Cliff, A. D. and Ord, J. K. (1981). Spatial Processes: Models
and Applications. Pion, London.
Examples
WeightsSummary(rbind(c(0, 1, 0), c(1, 0, 1), c(0, 1, 0)))[c("nonzero", "S0", "S1", "S2")]
#> $nonzero
#> [1] 4
#>
#> $S0
#> [1] 4
#>
#> $S1
#> [1] 8
#>
#> $S2
#> [1] 24
#>