cut.hierfly {clusterfly}R Documentation

Colour hierfly object

Description

Colour hierfly object into k clusters

Usage

cut.hierfly(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
...

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

h <- hierfly(iris)
hfly <- ggobi(h)
cut(h, 2, hfly)
h <- hierfly(iris, method="ward")
g <- ggobi(h)
cut(h, 2, g)

[Package clusterfly version 0.2.2 Index]