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

Description Usage Arguments Examples

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)

ggobi/clusterfly documentation built on May 17, 2019, 3:10 a.m.