Learn R Programming

RArcInfo (version 0.3)

get.bnddata: Function for importing the contents of a BND file into R

Description

This function reads and imports into R the contents of a BND file. This kind of files store the bounds of the given coverage (the one we are working with). That is, the upper and lower bounds for the x and y coordinates.

Usage

get.bnddata(infodir, tablename)

Arguments

infodir
Directory where there is a file called arc.dat (usually, it is called 'info').
tablename
The name of the table in the coverage that stores the data (usually called 'COVERAGENAME.BND').

Value

  • A vector with the x min, y min, x max and y max values.

References

More information about this kind of data can be found at http://pages.infinit.net/danmo/e00/docs/v7_bin_cover.html.