Description Usage Arguments Value Examples
Hierarchical clustering
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
Input data |
comb |
If data is a list or array: how to combine them ("mean","statis","full","sparse" or a vector of coefficients) |
kernel |
"lin" or rbf" to standard Linear and RBF kernels. "clin" for compositional linear and "crbf" for Aitchison-RBF kernels. "jac" for quantitative Jaccard / Ruzicka kernel. "jsk" for Jensen-Shannon Kernel. "flin" and "frbf" for functional linear and functional RBF kernels. "matrix" if a pre-computed kernel matrix is given as input. With an array or a list of length *m*: Vector of *m* kernels to apply to each dataset. |
H |
Kernel gamma hyperparameter if needed (only RBF-like kernels) |
domain |
Only used in "frbf" or "flin". |
method |
the agglomeration method to be used: "ward.D", "ward.D2" (Ward's (1963) clustering criterion), "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC). |
plot |
TRUE to return the plot, FALSE to return the dendogram object |
labels |
A vector of labels for the leaves of the tree. Row names of the input data are used by default. If set to FALSE, no labels at all are plotted. |
title |
Plot title |
cut |
an integer scalar or vector with the desired number of groups |
height |
numeric scalar or vector with heights where the tree should be cut |
colors |
border color(s) for the rectangles. |
An object of class hclust with or without a plot of the cluster dendogram
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.