Learn R Programming

sp (version 1.2-1)

SpatialMultiPoints-class: Class "SpatialMultiPoints"

Description

Class for (irregularly spaced) MultiPoints

Arguments

Objects from the Class

Objects can be created by calls of the form SpatialPoints(x).

Extends

Class "Spatial", directly.

See Also

SpatialMultiPointsDataFrame-class SpatialPoints-class

Examples

Run this code
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)

Run the code above in your browser using DataLab