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.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.