Get Polygons from a Shapefile

Share:

Description

It produces an object with polygons that can be used to overprint values on the plot.

Usage

1

Arguments

x

is the shapefile object.

Value

A maxtirx containing the polygon values.

Author(s)

Daniel Marcelino

References

www.metodologiapolitica.com.br

Examples

1
2
3
4
sids <- maptools::readShapePoly(system.file("shapes/sids.shp",
package="maptools") )

plot(poly <- get.poly(sids))