Description Usage Arguments Value Note See Also
centr
computes centroids and areas of shapes
1 | centr(shp)
|
shp |
shapefile object as returned by |
Data frame with columns:
cx |
x coordinate of the centroid |
cy |
y coordinate of the centroid |
area |
area of the shape |
If a shape has more than one part, only the centroid and area of the first part is computed, subsequent parts are discarded with a warning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.