Assigns observation to the nearest cluster center, using squared Euclidean distance.
matrix of observations
matrix of cluster centers
A vector of cluster labels
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.