Description Usage Arguments Value Examples
View source: R/cleanUp_partition.R
Remove small clusters (i.e. unclassified observations for which no consensus was obtained)
1 2 3 4 5 6 | cleanUp_partition(
partition,
min.cluster.size = 10,
level.order = NULL,
Unclassified = c(NA, "Unclassified")
)
|
partition |
the partition to clean (vector). |
min.cluster.size |
Minimum cluster size (i.e., smaller clusters will be discarded) |
level.order |
optional. If you supply a variable the cluster levels will be ordinated according to the mean values for the variable |
Unclassified |
string for the label of the unclassified observations.
defaults value is |
The cleaned up partition (factor).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.