get.Pcent {maptools} | R Documentation |
return the centroids of a map of polygons
get.Pcent(theMap)
theMap |
a Map object returned by read.shape() |
a matrix of centroids.
Nicholas J. Lewin-Koh, modified by Roger Bivand Roger.Bivand@nhh.no
x <- read.shape(system.file("shapes/sids.shp", package="maptools")[1]) get.Pcent(x)