Rdocumentation
powered by
Learn R Programming
sp (version 0.9-4)
Line: create objects of class Line or Lines
Description
create objects of class
Line
or
Lines
from coordinates
Usage
Line(coords) Lines(slinelist, ID = as.character(NA))
Arguments
coords
2-column numeric matrix with coordinates for a single line
slinelist
list with elements of class
Line-class
ID
a unique character identifier
Value
Line
returns an object of class
Line-class
;
Lines
returns an object of class
Lines-class
See Also
SpatialLines-class