centroid | R Documentation |
Calculates the centroid for a given set of XYZ coordinates.
centroid(data)
data |
A data frame with x, y, and z coordinates. |
The coordinates of the centroid.
data <- mesh_to_points(mcap)
centroid(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.