Test of neighborhood list
Tests a list of neighboring regions for proper format. Neighborhood is tested for being symmetrical. Causes an error if tests fail.
A list with a component for
every region. The
components are vectors of integers indicating
neighboring regions. A region without neighbors (e.g., an island)
should be assigned a vector
Number of regions.
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.