bnd2gra {BayesX} | R Documentation |
Convert Boundary Format to Graph Format
Description
Converts a map in boundary format to a map in graph format.
Usage
bnd2gra(map)
Arguments
map |
Map in boundary format that should be converted. |
Value
Returns an adjacency matrix that represents the neighborhood structure of the map object in graph format.
Author(s)
Felix Heinzl, Thomas Kneib
References
BayesX Reference Manual. Available from https://www.uni-goettingen.de/de/bayesx/550513.html
See Also
read.bnd
,read.gra
,write.bnd
,write.gra
Examples
tanzania.bnd <- read.bnd(system.file("examples/tanzania.bnd", package="BayesX"))
tanzania.gra <- bnd2gra(tanzania.bnd)
[Package BayesX version 0.3-3 Index]