Create object containing lengths of borders from sf
object.
border_lengths.Rd
The function border_lengths
creates a dataframe for each area of
sf
containing information about the shared borders with other areas.
Within this package the primary use is within border_precision
.
Value
A list of nrow(sf)
data frames which each have columns:
origin
The origin node.perimeter
The perimeter of the origin node.touching
The index of a node having shared border with the origin node.length
The length of border betweenorigin
andtouching
.weight
The proportion oforigin
's border which is withtouching
.