View source: R/utils-navigation.r
| SharedComps | R Documentation |
SharedComps determines, per cluster, which objects are
shared across all listed clustering results. The clusterings are first
rearranged to a common reference with ReorderToReference and the
intersection of the lead objects of every method is taken per cluster.
SharedComps(
List,
nrclusters = NULL,
fusionsLog = FALSE,
weightclust = FALSE,
names = NULL
)
List |
A list of the clustering outputs to be compared. The first
element of the list will be used as the reference in
|
nrclusters |
If List is the output of several clustering methods, it has to be provided in how many clusters to cut the dendrograms in. Default is NULL. |
fusionsLog |
Logical. To be handed to |
weightclust |
Logical. To be handed to |
names |
Names of the methods or clusters. Default is NULL. |
A list containing the shared objects of all listed elements per cluster.
## Not run:
data(mosaic_toy)
L <- mosaic_toy$List
res <- list(Cluster(L[[1]], type = "data", distmeasure = "euclidean"),
Cluster(L[[2]], type = "data", distmeasure = "euclidean"))
Comps <- SharedComps(List = res, nrclusters = 5, fusionsLog = FALSE,
weightclust = FALSE, names = c("S1", "S2"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.