merge_size | R Documentation |
Merge clusters given in labels until all clusters have a size of at
least min_size
. The dat
matrix contains the data used
to generate the cluster means.
Data points are assigned to the next closest cluster.
merge_size(labs, dat, min_size = 10, verbose = TRUE)
labs |
A vector of labels, with numeric values corresponsing to clusters |
dat |
A feature by observation data matrix used to get cluster means. |
min_size |
The minimum number of members that belong to a cluster. |
verbose |
Verbosity. |
A vector containing new labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.