constr.hclust-class | R Documentation |
Files belonging to this class hold information about the constrained agglomerative clustering and allows one to display results graphically.
A file belonging to this class is a list with elements:
A (n-1) by 2 matrix. Row i of file "merge"
describes
the merging of clusters at step i of the clustering. If an element j in
the row is negative, it means that observation -j was merged at this
stage. If j is positive, it means that the merge was with the cluster
formed at the (earlier) stage j of the algorithm. Thus negative entries
in file "merge"
indicate agglomerations of singletons, and
positive entries indicate agglomerations of non-singletons.
A set of (n-1) non-decreasing real values. The clustering height is the value of the criterion associated with the clustering method for the particular agglomeration.
A vector giving the permutation of the original observations suitable for plotting, in the sense that a cluster plot using this ordering and matrix merge will not have crossing branches.
Labels for the clustered objects.
The agglomerative clustering method that has been used.
The call that produced the result.
The distance that has been used to create dissimilarity
matrix "d"
(only returned if the dissimilarity matrix object has a
"method" attribute attached to it).
A copy of the list of edges (if a matrix of edges was provided to the function).
A copy of the coordinates (if coordinates were provided to the function).
The class inherits from hclust-class
and describes the
tree produced by the constrained clustering procedure.
All class members except links
and coords
are identical to
those in hclust-class
. several methods designed to process
these objects are expected to also work with constr.hclust-class
objects.
hclust-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.