Description Usage Arguments Details See Also Examples
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.
1 | clusterfly(df, extra = NULL, rescale = TRUE)
|
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. |
If you want to standardise the cluster labelling to one
group, look at clarify
and cfly_clarify
vignette("introduction")
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.