Add Neighborhood Relations
Adds a neighborhhod relationship between two given regions to a map object in graph format.
add.neighbor(map, region1, region2)
map object in graph format that should be modified.
character, names of the regions that should be connected as neighbors.
Returns an adjacency matrix that represents the neighborhood structure of
map plus the new
neighborhood relation in graph format.
Felix Heinzl, Thomas Kneib.
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.