Description functions Author(s)
The package finds the centroid of a set of points in n-dimensional space
and calculates the distances between the points and the centroid.
It provides two functinos: centroid
and cendist
, and has one internal function, euclidean
.
euclidean
is an internal function that calculte the euclidean distance between points.
centroid
finds the centroid and returns its coordinates.
centroid_distance
calls centroid
and euclidean
and returns the distances between each point and the centroid.
Aleksander Chlebowski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.