Description Usage Arguments Details Value Author(s) References Examples
This is a wrapper for function silhouette
in the cluster package. It also relies on the output of hclust
and cutree
.
1 2 3 4 5 6 7 |
ddist |
A distance matrix, probably the same as used for clustering |
o.hclr |
Output object of function hclust() |
o.relgr |
Output object of function cutree() |
... |
Plot parameter range(a,b) can be specified to limit plot to the subsed specified by a (begin) and b (end). |
x |
An object of class "davesil" |
range |
A vector of length 2, allows to plot a portion of the silhouette, e.g., range=c(1,5) plots the first 5. |
See function silhouette
in the cluster package.
An output list of class "davesil" with at least the following items:
sil |
Data for drawing the silhouette, computed by silhouette() |
names |
The names of the items clustered, first 15 characters, used for plotting |
Otto Wildi
Rousseeuw, P.J. (1987). Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math., 20: 53-65.
Wildi, O. 2017. Data Analysis in Vegetation Ecology. 3rd ed. CABI, Oxfordshire, Boston.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.