cut.hierfly: Cut hierfly object into k clusters/colours.

Description Usage Arguments Examples

View source: R/hclust.r

Description

Cut hierfly object into k clusters/colours.

Usage

1
2
## S3 method for class 'hierfly'
cut(x, k = 2, g = ggobi(x), ...)

Arguments

x

hierfly object to colour

k

number of clusters

g

GGobi instance displaying x, will create new if not specified

...

ignored

Examples

1
2
3
4
5
6
h <- hierfly(iris)
hfly <- ggobi(h)
cut(h, 2, hfly)
h <- hierfly(iris, method="ward")
g <- ggobi(h)
cut(h, 2, g)

clusterfly documentation built on May 2, 2019, 9:12 a.m.