Description Usage Arguments See Also Examples
Using kmeans
, plot percentage variance explained vs.
number of clusters. Used as a means of picking k
.
1 | kmeans_plot(dat, nmax = 20, ...)
|
dat |
numeric matrix of data, or an object that can be coerced to such a matrix (such as a numeric vector or a data frame with all numeric columns). |
nmax |
maximum number of clusters to examine |
... |
optional arguments passed to xyplot |
1 2 | data(iris)
kmeans_plot(iris[,1:4])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.