Description Usage Arguments Value Examples
An ensemble method for combining multiple clustering outcomes based on monotonic graph families of Zhou and Oldford
1 2 |
clustering1 |
result of some clustering, for example output from hclust(). A clustering can also be an n by m matrix, where n is the number of data points and m is the number of levels in the clustering hierarchy. |
clustering2 |
result of a second clustering, to be combined with the first. |
... |
results of other clustering methods, to be combined with the first two. |
labels |
labels of data points in clustering results |
pruneNumber |
set number for pruning trivial components |
a clusterTree object, which is the final clustering result from combining all input clustering results
1 2 3 4 5 6 7 8 | data <- rbind(matrix(rnorm(100, mean = 10, sd = 2), nrow = 50),
matrix(rnorm(100, mean = 0, sd = 1), nrow = 50),
matrix(rnorm(100, mean = -10, sd = 3), nrow = 50)
)
clustering1 <- stats::hclust(dist(data),method='single')
clustering2 <- kmeans(data,centers=3)
clustering3 <- dbscan::dbscan(data,eps=.8)
res <- combineClusterings(clustering1,clustering2,clustering3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.