Description Usage Arguments Value Author(s)
General Component for Cluster Representative update.
1 2 | wc_recalculate(data, assignment, recalculate_type, assignment_type = NULL,
old_centroids = NULL)
|
data |
A dataset for which Cluster Representatives needs to be updated. |
assignment |
Vector of Cluster assignments. |
recalculate_type |
String which signal which update type to be used. Check |
assignment_type |
Assignment type (Optional). |
old_centroids |
Old centroids (Optional). |
As a result new Cluster Representatives are obtained. Result is in for of data.frame or data.matrix.
Sandro Radovanovic sandro.radovanovic@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.