powered by
Writes the information of a map object to a file (in graph format).
write.gra(map, file, replace = FALSE)
map object ot be saved (should be in graph format, see bnd2gra for the conversion of boundary format to graph format).
bnd2gra
name of the file to write to
should an existing file be overwritten with the new version?
Thomas Kneib, Felix Heinzl.
BayesX Reference Manual. Available at https://www.uni-goettingen.de/de/bayesx/550513.html.
read.gra, read.bnd, write.bnd.
read.gra
read.bnd
write.bnd
data("FantasyBnd") tfile <- tempfile() write.gra(bnd2gra(FantasyBnd), file = tfile) cat(readLines(tfile), sep = "\n") unlink(tfile)
Run the code above in your browser using DataLab