| 1 |
\name{SpatialLinesDataFrame-class} |
| 2 |
\docType{class} |
| 3 |
\alias{SpatialLinesDataFrame-class} |
| 4 |
\alias{coerce,SpatialLinesDataFrame,data.frame-method} |
| 5 |
\alias{[,SpatialLinesDataFrame-method} |
| 6 |
\alias{rbind.SpatialLinesDataFrame} |
| 7 |
\alias{coerce,SpatialLinesDataFrame,SpatialPointsDataFrame-method} |
| 8 |
\alias{coerce,SpatialLinesDataFrame,SpatialMultiPointsDataFrame-method} |
| 9 |
\alias{dim.SpatialLinesDataFrame} |
| 10 |
\alias{row.names.SpatialLinesDataFrame} |
| 11 |
|
| 12 |
\title{a class for spatial lines with attributes } |
| 13 |
\description{ this class holds data consisting of (sets of lines), where each |
| 14 |
set of lines relates to an attribute row in a data.frame } |
| 15 |
\section{Objects from the Class}{ |
| 16 |
can be created by the function \link{SpatialLinesDataFrame} |
| 17 |
} |
| 18 |
\section{Slots}{ |
| 19 |
\describe{ |
| 20 |
\item{\code{data}:}{Object of class \link{data.frame} containing the attribute table } |
| 21 |
\item{\code{lines}:}{Object of class \code{"list"}; see \link{SpatialLines-class}} |
| 22 |
\item{\code{bbox}:}{Object of class \code{"matrix"}; see \link{Spatial-class} } |
| 23 |
\item{\code{proj4string}:}{Object of class \code{"CRS"}; see \link{CRS-class}} |
| 24 |
} |
| 25 |
} |
| 26 |
\section{Extends}{ |
| 27 |
Class \code{"SpatialLines"}, directly. |
| 28 |
Class \code{"Spatial"}, by class \code{"SpatialLines"}. |
| 29 |
} |
| 30 |
\section{Methods}{ |
| 31 |
Methods defined with class "SpatialLinesDataFrame" in the signature: |
| 32 |
\describe{ |
| 33 |
\item{[}{\code{signature(x = "SpatialLinesDataFrame")}: subset rows or |
| 34 |
columns; in case of row subsetting, the line sets are also subsetted; NAs are not permitted in the row index } |
| 35 |
\item{coordinates}{\code{signature(obj = "SpatialLinesDataFrame")}: retrieves |
| 36 |
a list with lists of coordinate matrices } |
| 37 |
\item{show}{\code{signature(object = "SpatialLinesDataFrame")}: print method } |
| 38 |
\item{plot}{\code{signature(x = "SpatialLinesDataFrame")}: plot points} |
| 39 |
\item{lines}{\code{signature(object = "SpatialLinesDataFrame")}: add lines to plot} |
| 40 |
\item{rbind}{\code{signature(object = "SpatialLinesDataFrame")}: |
| 41 |
rbind-like method} |
| 42 |
} |
| 43 |
} |
| 44 |
\note{ |
| 45 |
\code{rbind} for \code{SpatialLinesDataFrame} is only possible for |
| 46 |
objects with unique IDs. If you want to \code{rbind} objects |
| 47 |
with duplicated IDs, see\code{\link{spChFIDs}}. |
| 48 |
} |
| 49 |
\author{ Roger Bivand; Edzer Pebesma } |
| 50 |
|
| 51 |
\seealso{ |
| 52 |
\link{SpatialLines-class} |
| 53 |
} |
| 54 |
\keyword{classes} |