View source: R/summary.salso.estimate.R
| summary.salso.estimate | R Documentation |
Assessing the quality of clusters in a partition estimate is added by this
function. The result can then be plotted with
plot.salso.summary. The current implementation of the
calculation of these summaries is not terribly efficient and may be improved
in the future.
## S3 method for class 'salso.estimate'
summary(object, alternative, orderingMethod = 1, ...)
object |
An object returned by the |
alternative |
An optional argument specifying an alternative clustering
to use instead of that provided by |
orderingMethod |
An integer giving method to use to order the
observations for a heatmap plot. Currently values |
... |
Currently ignored. |
A list containing the estimate, the pairwise similarity matrix, the mean pairwise similarity matrix, the score and mean pairwise similarity for each observation, exemplar observation for each cluster, a dendrogram object, a vector for ordering observations in the heatmap plot, the size of each cluster, and the number of clusters.
# For examples, use 'nCores=1' per CRAN rules, but in practice omit this.
data(iris.clusterings)
draws <- iris.clusterings
est <- salso(draws, nCores=1)
summ <- summary(est)
plot(summ, type="heatmap")
plot(summ, type="mds")
plot(summ, type="pairs", data=iris)
plot(summ, type="dendrogram")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.