clusterConversion: clusterConversion

Description Usage Arguments Details Value Examples

View source: R/core.R

Description

Find the conversion between the old cluster and the final clusters

Usage

1
clusterConversion(merger, p = 1, average_n = NULL, n_steps = NULL)

Arguments

merger

the result from having run Dune on the dataset

p

A value between 0 and 1. We stop when the metric used for merging has improved by p of the final total improvement. Default to 1 (i.e running the full merging).

average_n

Alternatively, you can specify the average number of clusters you want to have.

n_steps

Finally, you can specify the number of merging steps to do before stopping.

Details

If more than one of p,average_n and n_steps is specified, then the order of preference is n_steps, then average_n then p.

Value

A list containing a matrix per clustering method, with a column for the old labels and a column for the new labels.

Examples

1
2
3
data("clusMat", package = "Dune")
merger <- Dune(clusMat = clusMat)
clusterConversion(merger)[[2]]

HectorRDB/Dune documentation built on Dec. 18, 2020, 8:08 p.m.