Line {sp} | R Documentation

## 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

[Package sp version 0.7-12 Index]