Learn R Programming

R2BayesX (version 1.0-0)

write.bnd: Saving Maps in Boundary Format

Description

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

Usage

write.bnd(map, file, replace = FALSE)

Arguments

map
pap object ot be saved (should be in boundary 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.bnd, write.gra, read.gra.

Examples

Run this code
data("FantasyBnd")
tfile <- tempfile()
write.bnd(FantasyBnd, file = tfile)
cat(readLines(tfile), sep = "\n")
unlink(tfile)

Run the code above in your browser using DataLab