| bnd2gra {BayesX} | R Documentation |
Converts a map in boundary format to a map in graph format.
bnd2gra(map)
map |
Map in boundary format that should be converted. |
Returns an adjacency matrix that represents the neighborhood structure of the map object in graph format.
Felix Heinzl, Thomas Kneib
BayesX Reference Manual. Available from http://www.stat.uni-muenchen.de/~bayesx/
read.bnd,read.gra,write.bnd,write.gra
tanzania.bnd <- read.bnd(system.file("examples/tanzania.bnd", package="BayesX"))
tanzania.gra <- bnd2gra(tanzania.bnd)