Description Usage Arguments Value Examples
cluster_count
returns the number of clusters in a clustering.
1 | cluster_count(clustering)
|
clustering |
a |
Returns an integer with the number of clusters in clustering
.
1 2 3 4 5 6 | # Example scclust clustering
my_scclust <- scclust(c("A", "A", "B", "C", "B",
"C", "C", "A", "B", "B"))
cluster_count(my_scclust)
# > 3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.