| SpatialMultiPoints-class | R Documentation |
Class for (irregularly spaced) MultiPoints
Objects can be created by calls of the form SpatialPoints(x).
coords:Object of class "list", containing the
coordinates of point sets (each list element is a matrix)
bbox:Object of class "matrix", with bounding box
proj4string:Object of class "CRS", projection string
Class "Spatial", directly.
signature(x = "SpatialMultiPoints"): subsets point sets
signature(from = "SpatialPoints", to = "data.frame"):
coerce to data.frame
signature(obj = "SpatialMultiPoints"): retrieves
all the coordinates, as one single matrix
signature(x = "SpatialPoints", y = "missing"): plot points
signature(object = "SpatialPoints"): summarize object
signature(x = "SpatialPoints"): add point symbols to plot
signature(object = "SpatialPoints"): prints coordinates
signature(object = "SpatialPoints"): rbind-like method
The plot method for “SpatialPoints” objects takes the following arguments:
object of class SpatialPoints
default 3; either an integer specifying a symbol or a single character to be used as the default in plotting points
default FALSE; a logical value indicating whether both axes should be drawn
default FALSE; add to existing plot
default NULL; the x limits (x1, x2) of the plot
default NULL; the y limits of the plot
passed through
default FALSE; set the par “usr” bounding box, see note in Spatial-class
default 1; numerical value giving the amount by which plotting text and symbols should be magnified relative to the default
default 1; default plotting color
default 1; line width
default 1; colour to be used for the background of the device region
Edzer Pebesma, edzer.pebesma@uni-muenster.de
SpatialMultiPointsDataFrame-class
SpatialPoints-class
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.