SpatialLines {sp}R Documentation

create objects of class SpatialLines or SpatialLinesDataFrame

Description

create objects of class SpatialLines or SpatialLinesDataFrame from lists of Slines objects and data.frame's

Usage

 
SpatialLines(SlineList)
SpatialLinesDataFrame(sl, data)
as.SpatialLines.SLDF(SLDF)

Arguments

SlineList list with objects of class Slines-class
sl object of class SpatialLines-class
data object of class data.frame; the number of rows in data should equal the number of Slines elements in sl
SLDF SpatialLinesDataFrame object

Value

SpatialLines returns object of class SpatialLines; SpatialLinesDataFrame returns object of class SpatialLinesDataFrame

See Also

SpatialLines-class


[Package sp version 0.7-4 Index]