Sline {sp} | R Documentation

## create objects of class Sline or Slines

### Description

create objects of class `Sline` or `Slines` from coordinates

### Usage

    Sline(coords, proj4string)
    Slines(slinelist, ID = as.character(NA))

### Arguments

`coords` | 2-column numeric matrix with coordinates for a single line
`proj4string` | object of class CRS-class
`slinelist` | list with elements of class Sline-class
`ID` | a unique character identifier

### Value

`Sline` returns an object of class Sline-class; `Slines` returns an object of class Slines-class

### See Also

SpatialLines-class

[Package sp version 0.7-8 Index]