| cluster_count | R Documentation | 
cluster_count returns the number of clusters in a clustering.
cluster_count(clustering)
| clustering | a  | 
Returns an integer with the number of clusters in clustering.
# 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.