Learn R Programming

clusterfly (version 0.4)

cfly_pcp: Static plot: Parallel coordinates. Draw a parallel coordinates plot, facetted across clustering.

Description

This really only a proof of concept, a truly useful PCP needs interaction, especially to move the variables around.

Usage

cfly_pcp(cfly, index, ...)

Arguments

cfly
clusterfly object
index
clustering to use
...
other arguments passed to geom_line

Examples

Run this code
if (require("ggplot2")) {
o <- olive_example()
cfly_pcp(o, "kmeans")
cfly_pcp(o, "kmeans", alpha = 1/10)
cfly_pcp(o, "kmeans", alpha = 1/10) + coord_flip()
}

Run the code above in your browser using DataLab