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.frames; extract list od Slines from a SpatialLines object

Usage

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

Arguments

SlineList list with objects of class Slines-class
sl, 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-7 Index]