Description Usage Arguments Value
This function clusters an input data.frame
using the cluster::clara
function
1 | cluster_data(tab, col.names, k, ...)
|
tab |
The input |
col.names |
A vector specifying which columns of |
k |
The desired number of clusters |
... |
Additional arguments to be passed to |
Returns tab
, with an added column called groups
, indicating cluster membership
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.