| centroids-generic | R Documentation |
Access centroids information from polygon objects
## S4 method for signature 'giottoPolygon'
centroids(x)
x |
object |
For giottoPolygon, if centroids already exist, pulls from
spatVectorCentroids slot. Otherwise, generates from
spatVector slot de novo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.