EVOLUTION-MANAGER
Edit File: addattr.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: constructs SpatialXxxDataFrame from geometry and attributes</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for addAttrToGeom-methods {sp}"><tr><td>addAttrToGeom-methods {sp}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> constructs SpatialXxxDataFrame from geometry and attributes</h2> <h3>Description</h3> <p> constructs SpatialXxxDataFrame from geometry and attributes</p> <h3>Usage</h3> <pre> addAttrToGeom(x, y, match.ID, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>geometry (locations) of the queries</p> </td></tr> <tr valign="top"><td><code>y</code></td> <td> <p>data.frame object with attributes</p> </td></tr> <tr valign="top"><td><code>match.ID</code></td> <td> <p> 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 </p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>(optional) arguments passed to the constructor functions </p> </td></tr> </table> <h3>Value</h3> <p> an object of class XxxDataFrame, where Xxx is the class of x</p> <h3>Methods</h3> <dl> <dt>x = "SpatialPoints", y = "data.frame"</dt><dd> </dd> <dt>x = "SpatialPixels", y = "data.frame"</dt><dd> </dd> <dt>x = "SpatialGrid", y = "data.frame"</dt><dd> </dd> <dt>x = "SpatialLines", y = "data.frame"</dt><dd> </dd> <dt>x = "SpatialPolygons", y = "data.frame"</dt><dd> </dd> </dl> <h3>Author(s)</h3> <p>Edzer Pebesma, <a href="mailto:edzer.pebesma@uni-muenster.de">edzer.pebesma@uni-muenster.de</a></p> <h3>See Also</h3> <p><a href="over.html">over</a></p> <hr /><div style="text-align: center;">[Package <em>sp</em> version 1.4-2 <a href="00Index.html">Index</a>]</div> </body></html>