boxclus | R Documentation |
Produce a box-and-whisker plot for clustering results.
boxclus(d, clusters, legendpos = "topleft", ...)
d |
The dataset ( |
clusters |
Cluster labels of the training set ( |
legendpos |
Position of the legend |
... |
Other parameters. |
boxplot
require (datasets)
data (iris)
km = KMEANS (iris [, -5], k = 3)
boxclus (iris [, -5], km$cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.