szero {sfdep} | R Documentation |
Global sum of weights
Description
Calculate the global sum of weights
Usage
szero(wt)
Arguments
wt |
a weights list—i.e. created by |
Value
a scalar numeric
Examples
nb <- st_contiguity(guerry)
wt <- st_weights(nb)
szero(wt)
[Package sfdep version 0.2.4 Index]