View source: R/as.protoclust.R
as.protoclust | R Documentation |
Convert a generic hclust object to a protoclust object.
as.protoclust(hc, protos)
hc |
A generic hclust object using any linkage. |
protos |
A vector of prototype label indices for each branch in the dendrogram. The i-th element is the index of the prototype corresponding to the cluster formed on the i-th merge. |
An object of class protoclust
with a user specified vector of representative prototypes for each cluster.
This object is just like hclust
but has an identical element:
merge, height,order |
identical to the values returned by |
protos |
a vector of length n - 1. The i-th element is the index of the prototype corresponding to the cluster formed on the i-th merge. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.