write.gra {R2BayesX} | R Documentation |
Saving Maps in Graph Format
Description
Writes the information of a map object to a file (in graph format).
Usage
write.gra(map, file, replace = FALSE)
Arguments
map |
map object ot be saved (should be in graph format, see |
file |
name of the file to write to |
replace |
should an existing file be overwritten with the new version? |
Author(s)
Thomas Kneib, Felix Heinzl.
References
BayesX Reference Manual. Available at https://www.uni-goettingen.de/de/bayesx/550513.html.
See Also
read.gra
, read.bnd
, write.bnd
.
Examples
data("FantasyBnd")
tfile <- tempfile()
write.gra(bnd2gra(FantasyBnd), file = tfile)
cat(readLines(tfile), sep = "\n")
unlink(tfile)
[Package R2BayesX version 1.1-5 Index]