Calculate the global sum of weights
Arguments
- wt
a weights list—i.e. created by
st_weights()
Examples
nb <- st_contiguity(guerry)
wt <- st_weights(nb)
szero(wt)
#> [1] 85
Calculate the global sum of weights
a weights list—i.e. created by st_weights()
nb <- st_contiguity(guerry)
wt <- st_weights(nb)
szero(wt)
#> [1] 85