MPcutree: Provides a cut of hclust into k clusters

Description Usage Arguments

Description

In contrast to stats::cutree(), this can output more than k clusters. However, the output should contain k clusters that are of nontrivial size. The largest cluster should be labeled as "1", the next biggest as "2" and so on

Usage

1
MPcutree(tree, k = 2, minsize = 1/(10 * k))

Arguments

tree

tree object output by hclust

k

integer, number of clusters to output

minsize

numeric in range [0, 1], minimal size of the clusters


tkonopka/MultiPattern documentation built on May 31, 2019, 3:45 p.m.