clusterfly {clusterfly} | R Documentation |
This method creates a convenient data structure for dealing with a dataset and a number of alternative clusterings.
clusterfly(df, rescale=TRUE)
df |
data frame to be clustered |
rescale |
rescale, if true each variable will be scaled to have mean 0 and variance 1. |
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.
If you want to standardise the cluster labelling to one
group, look at clarify
and cfly_clarify
Hadley Wickham <h.wickham@gmail.com>
vignette("introduction")