Learn R Programming

sp (version 2.1-2)

polygons-methods: Retrieve polygons from SpatialPolygonsDataFrame object

Description

Retrieve polygons from SpatialPolygonsDataFrame object

Arguments

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