Common contiguities of an sf
POLYGON object
polyg_contiguity.Rd
Wrapper function for sf::st_relate()
. Computes a sparse index
list of contiguities for an sf
POLYGON object.
Details
Wrapper for sf::st_relate()
with DE9-IM predicate F***T****
for queen
contiguity, F***1****
for rook contiguity and F***0****
for bishop contiguity.
Setting fill_empty
to TRUE
guarantees at least one index per polygon by adding self-neighboring.