write.gra

0th

Percentile

Saving Maps in Graph Format

Writes the information of a map object to a file (in graph format).

Keywords
spatial
Usage
write.gra(map, file, replace = FALSE)
Arguments
map

map object ot be saved (should be in graph format, see bnd2gra for the conversion of boundary format to graph format).

file

name of the file to write to

replace

should an existing file be overwritten with the new version?

References

BayesX Reference Manual. Available at http://www.BayesX.org.

See Also

read.gra, read.bnd, write.bnd.

Aliases
  • write.gra
Examples
# NOT RUN {
data("FantasyBnd")
tfile <- tempfile()
write.gra(bnd2gra(FantasyBnd), file = tfile)
cat(readLines(tfile), sep = "\n")
unlink(tfile)
# }
Documentation reproduced from package R2BayesX, version 1.1-1, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.