Learn R Programming

sp (version 1.6-0)

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