Description Usage Arguments Examples
centroid_mean calculate centroid mean
centroid_mean
1
knn(X, centroids = NULL, k = NULL, imax = NULL, ...)
X
X Matrix of ncol >=2.
ncol >=2
group
group Vector of groups for which centroid means will be calculated.
# centroid_mean(X, idx)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.