Skip to content
Prev 7473 / 29559 Next

points to lines and/or polygons

On Wed, 27 Jan 2010, Agustin Lobo wrote:

            
The maps package is the main (geographical) source using the legacy S 
format, where lines (or polygons) are separated by NA rows in a two-column 
matrix. This is described in ?lines. Think of the simplest format for a 
pen plotter, where NA picks up the pen. As the format is used by other 
sources (including base graphics), the function doesn't check that the 
class is "map", but converting from this class is its main use.

Roger