clusterfly: Creates a convenient data structure for dealing with a...

Description Usage Arguments Details See Also Examples

View source: R/clusterfly.r

Description

Once you have created a clusterfly object, you can add clusterings to it with cfly_cluster, and visualise then in GGobi with cfly_show and cfly_animate. Static graphics are also available: cfly_pcp will produce a parallel coordinates plot, cfly_dist will show the distribution of each variable in each cluster, and cfly_fluct compares two clusterings with a fluctuation diagram.

Usage

1
clusterfly(df, extra = NULL, rescale = TRUE)

Arguments

df

data frame to be clustered

extra

extra variables to be included in output, but not clustered

rescale

rescale, if true each variable will be scaled to have mean 0 and variance 1.

Details

If you want to standardise the cluster labelling to one group, look at clarify and cfly_clarify

See Also

vignette("introduction")

Examples

1
2
3
4
5
6
7
8
ol <- olive_example()

if (interactive()) {
ggobi(ol)
cfly_show(ol, "k4-1")
cfly_animate(ol, max = 5)
close(ol)
}

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