Faster extraction of neighbour network summary weights (taken from spweights.constants function in spdep )

spweights_mat(listw)

Arguments

listw

a weighted network in list (listw) or matrix (CsparseMatrix) format

Value

a list obejct containing summary constants

Details

For more information see spweights.constants() function documentation