Objects can be created by calls to the function SpatialPolygonsDataFrame
Slots
data:: Object of class "data.frame"; attribute table
polygons:: Object of class "list"; see SpatialPolygons-class
plotOrder:: Object of class "integer"; see SpatialPolygons-class
bbox:: Object of class "matrix"; see Spatial-class
proj4string:: Object of class "CRS"; see CRS-class
Extends
Class "SpatialPolygons", directly. Class "Spatial", by class "SpatialPolygons".
Methods
Methods defined with class "SpatialPolygonsDataFrame" in the signature:
[: signature(x = "SpatialPolygonsDataFrame"): select subset of (sets of) polygons; NAs are not permitted in the row index
rbind: signature(object = "SpatialPolygonsDataFrame"): rbind-like method, see notes below
Author(s)
Roger Bivand
Note
SpatialPolygonsDataFrame with default ID matching checks the data frame row names against the Polygons ID slots. They must then agree with each other, and be unique (no Polygons objects can share IDs); the data frame rows will be re-ordered if needed to match the Polygons IDs..
If you want to rbind objects with duplicated IDs, seespChFIDs.