Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.gra

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 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?

Author(s)

Thomas Kneib, Felix Heinzl.

References

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

See Also

Examples

data("FantasyBnd")
tfile <- tempfile()
write.gra(bnd2gra(FantasyBnd), file = tfile)
cat(readLines(tfile), sep = "\n")
unlink(tfile)

R2BayesX

Estimate Structured Additive Regression Models with 'BayesX'

v1.1-1
GPL-2 | GPL-3
Authors
Nikolaus Umlauf [aut, cre], Thomas Kneib [aut], Stefan Lang [aut], Achim Zeileis [aut] (0000-0003-0918-3766)
Initial release
2017-12-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.