EVOLUTION-MANAGER
Edit File: SpatialMultiPoints-class.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: Class "SpatialMultiPoints"</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 SpatialMultiPoints-class {sp}"><tr><td>SpatialMultiPoints-class {sp}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Class "SpatialMultiPoints" </h2> <h3>Description</h3> <p> Class for (irregularly spaced) MultiPoints </p> <h3>Objects from the Class</h3> <p>Objects can be created by calls of the form <code>SpatialPoints(x)</code>. </p> <h3>Slots</h3> <dl> <dt><code>coords</code>:</dt><dd><p>Object of class <code>"list"</code>, containing the coordinates of point sets (each list element is a matrix) </p> </dd> <dt><code>bbox</code>:</dt><dd><p>Object of class <code>"matrix"</code>, with bounding box </p> </dd> <dt><code>proj4string</code>:</dt><dd><p>Object of class <code>"CRS"</code>, projection string </p> </dd> </dl> <h3>Extends</h3> <p>Class <code>"Spatial"</code>, directly. </p> <h3>Methods</h3> <dl> <dt>[</dt><dd><p><code>signature(x = "SpatialMultiPoints")</code>: subsets point sets</p> </dd> <dt>coerce</dt><dd><p><code>signature(from = "SpatialPoints", to = "data.frame")</code>: coerce to data.frame</p> </dd> <dt>coordinates</dt><dd><p><code>signature(obj = "SpatialMultiPoints")</code>: retrieves all the coordinates, as one single matrix </p> </dd> <dt>plot</dt><dd><p><code>signature(x = "SpatialPoints", y = "missing")</code>: plot points</p> </dd> <dt>summary</dt><dd><p><code>signature(object = "SpatialPoints")</code>: summarize object</p> </dd> <dt>points</dt><dd><p><code>signature(x = "SpatialPoints")</code>: add point symbols to plot</p> </dd> <dt>show</dt><dd><p><code>signature(object = "SpatialPoints")</code>: prints coordinates </p> </dd> <dt>rbind</dt><dd><p><code>signature(object = "SpatialPoints")</code>: rbind-like method </p> </dd> </dl> <h3>plot method arguments</h3> <p>The plot method for “SpatialPoints” objects takes the following arguments: </p> <dl> <dt>x</dt><dd><p>object of class SpatialPoints</p> </dd> <dt>pch</dt><dd><p>default 3; either an integer specifying a symbol or a single character to be used as the default in plotting points</p> </dd> <dt>axes</dt><dd><p>default FALSE; a logical value indicating whether both axes should be drawn </p> </dd> <dt>add</dt><dd><p>default FALSE; add to existing plot</p> </dd> <dt>xlim</dt><dd><p>default NULL; the x limits (x1, x2) of the plot</p> </dd> <dt>ylim</dt><dd><p>default NULL; the y limits of the plot</p> </dd> <dt>...</dt><dd><p>passed through</p> </dd> <dt>setParUsrBB</dt><dd><p>default FALSE; set the <code>par</code> “usr” bounding box, see note in <a href="Spatial-class.html">Spatial-class</a></p> </dd> <dt>cex</dt><dd><p>default 1; numerical value giving the amount by which plotting text and symbols should be magnified relative to the default</p> </dd> <dt>col</dt><dd><p>default 1; default plotting color</p> </dd> <dt>lwd</dt><dd><p>default 1; line width</p> </dd> <dt>bg</dt><dd><p>default 1; colour to be used for the background of the device region</p> </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><code><a href="SpatialMultiPointsDataFrame-class.html">SpatialMultiPointsDataFrame-class</a></code> <code><a href="SpatialPoints-class.html">SpatialPoints-class</a></code> </p> <h3>Examples</h3> <pre> cl1 = cbind(rnorm(3, 10), rnorm(3, 10)) cl2 = cbind(rnorm(5, 10), rnorm(5, 0)) cl3 = cbind(rnorm(7, 0), rnorm(7, 10)) mp = SpatialMultiPoints(list(cl1, cl2, cl3)) plot(mp, col = 2, cex = 1, pch = 1:3) mp mp[1:2] print(mp, asWKT=TRUE, digits=3) </pre> <hr /><div style="text-align: center;">[Package <em>sp</em> version 1.4-2 <a href="00Index.html">Index</a>]</div> </body></html>