Description Usage Arguments Value
k-clouds clustering
1 2 |
df |
data frame with the data to cluster |
var |
character or integer indicating the column name or position of the numeric column to evalute for defining the clusters, 1L by default |
group |
character or integer indicating the column name or position of the column that defines the treatments, 2L by default |
k |
integer, number of super-groups to cluster in |
threshold |
double, value to stop the iteration. Stops if the difference between the previous total distance and the current total distance is less than threshold |
iter |
integer, maximum number of iterations |
a data frame with columns group and cluster. - group: referencies the group variable - cluster: a letter indicating the cluster to which the group belongs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.