File: addattr.Rd

package info (click to toggle)
r-cran-sp 1%3A2.2-0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,856 kB
  • sloc: ansic: 1,091; sh: 14; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\name{addAttrToGeom-methods}
\docType{methods}
\alias{addAttrToGeom}
\alias{addAttrToGeom-methods}
\alias{addAttrToGeom,SpatialPoints,data.frame-method}
\alias{addAttrToGeom,SpatialMultiPoints,data.frame-method}
\alias{addAttrToGeom,SpatialGrid,data.frame-method}
\alias{addAttrToGeom,SpatialPixels,data.frame-method}
\alias{addAttrToGeom,SpatialPolygons,data.frame-method}
\alias{addAttrToGeom,SpatialLines,data.frame-method}

\title{ constructs SpatialXxxDataFrame from geometry and attributes}
\description{ constructs SpatialXxxDataFrame from geometry and attributes}
\usage{
addAttrToGeom(x, y, match.ID, ...)
}
\arguments{
\item{x}{geometry (locations) of the queries}
\item{y}{data.frame object with attributes}
\item{match.ID}{ logical; if TRUE, the IDs of the geometry and of the
data.frame are matched (possibly swapping records), and an error occurs
when some IDs do not match }
\item{...}{(optional) arguments passed to the constructor functions }
}
\value{ an object of class XxxDataFrame, where Xxx is the class of x}

\section{Methods}{
\describe{
\item{x = "SpatialPoints", y = "data.frame"}{ }
\item{x = "SpatialPixels", y = "data.frame"}{ }
\item{x = "SpatialGrid", y = "data.frame"}{ }
\item{x = "SpatialLines", y = "data.frame"}{ }
\item{x = "SpatialPolygons", y = "data.frame"}{ }
}
}
\author{Edzer Pebesma, \email{edzer.pebesma@uni-muenster.de}}
\seealso{\link{over}}
\keyword{methods}