Description Usage Arguments Value
Implements naive k means algorithm (optionally for first two principle componenets of a dataset)
1 | k_means(dat, nk, pca2 = F)
|
dat |
dataframe to perform clustering on |
nk |
number of clusters |
pca2 |
boolean whether or not to use pca |
A list object with groups by row, ss within, ss between, sstotal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.