cluster_by_pam | R Documentation |
Cluster similarity matrix by pam clustering
cluster_by_pam(mat, max_k = max(2, min(round(nrow(mat)/10), 100)), ...)
mat |
The similarity matrix. |
max_k |
maximal k for pam clustering. |
... |
Other arguments passed to |
PAM is applied by pamk
which can automatically select the best k.
A vector of cluster labels (in numeric).
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.