Description Usage Arguments Value
This function computes the centroids for each cluster. It takes in input a data.frame or a matrix of data and a vector containing the classification of each sample.
1 |
data |
Dataset of class type data.frame or matrix |
clClassification |
Vector of samples' clustering labels |
... |
Other arguments |
A list with:
clCentres - data frame of means nClustersxncol(data)
nClusters - number of clusters
sizeCl - number of elements by cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.