Convert Boundary Format to Graph Format
Converts a map in boundary format to a map in graph format.
bnd2gra(map, npoints = 2)
map |
map in boundary format that should be converted. |
npoints |
integer. How many points must be shared by two polygons to be a neighbor? |
Returns an adjacency matrix that represents the neighborhood structure of the map object in graph format.
Felix Heinzl, Thomas Kneib.
BayesX Reference Manual. Available at http://www.BayesX.org.
data("FantasyBnd") plotmap(FantasyBnd, names = TRUE) adjmat <- bnd2gra(FantasyBnd) adjmat
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.