R: Retrieve polygons from SpatialPolygonsDataFrame object

polygons-methods {sp} | R Documentation

## Retrieve polygons from SpatialPolygonsDataFrame object

### Description

Retrieve polygons from SpatialPolygonsDataFrame object

### Methods for polygons

obj = "SpatialPolygons"

  object of, or deriving from, SpatialPolygons

obj = "SpatialPolygonsDataFrame"

  object of, or deriving from, SpatialPolygonsDataFrame

### Methods for "polygons<-"

object = "data.frame", value="SpatialPolygons"

  promote data.frame to object of class SpatialPolygonsDataFrame-class, by specifying polygons

[Package sp version 1.4-5 Index]