View source: R/dist_blob_utils.R
centroid | R Documentation |
Find the center of a blob, defined as the mean of the vertices of the blob.
centroid(cont)
blob |
A polygon, for example the result of blob.boundary() the smoother the result. |
The 2-dimensional blob centroid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.