clustering_metrics | R Documentation |
Single embedding or dataset evaluation
clustering_metrics(
x,
dat = NULL,
by = c("k", "m"),
dissimilarity = NULL,
cluster_size_table = TRUE,
silhouette_min_cluster_size = 0,
internal_metrics = NULL,
...
)
x |
A data.frame of clustering results. |
dat |
A data.frame with data columns identified with "dim". Not required if dissimilarity is defined. |
by |
vector of variable names to split by |
dissimilarity |
a |
cluster_size_table |
return cluster sizes if |
silhouette_min_cluster_size |
proportional cluster size threshold for merging into nearest neighbours' cluster for silhouette computation. |
internal_metrics |
Internal metric names passed to |
... |
extra arguments are passed to |
Returns a list
containing metrics and cluster sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.