| read.bnd | R Documentation | 
Reads the geographical information provided in a file in boundary format (see Ch. 5 of the BayesX Reference Manual) and stores it in a map object.
read.bnd(file, sorted=FALSE)
file | 
 Name of the boundary file to be read.  | 
sorted | 
 Should the regions be ordered by the numbers speciying the region names (  | 
Returns a list of polygons that form the map. Additional attributes are
surrounding | 
 Parallel list where for each polygon, the name of a possible surrounding region is saved.  | 
height2width | 
 Ratio between height and width of the map. Allows customised drawing and storage in files by specifying the appropriate height and width.  | 
class | 
 Indicates whether the map is stored in boundary format (  | 
Daniel Sabanes Bove, Felix Heinzl, Thomas Kneib, Andreas Brezger
BayesX Reference Manual. Available from https://www.uni-goettingen.de/de/bayesx/550513.html
write.bnd,drawmap,read.gra,write.gra
germany <- read.bnd(system.file("examples/germany.bnd", package="BayesX"))
drawmap(map=germany)
attributes(germany)
germany <- read.bnd(system.file("examples/germany2001.bnd", package="BayesX"))
drawmap(map=germany)
attributes(germany)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.