[R] brushing with parallel coordinates

Deepayan Sarkar deepayan.sarkar at gmail.com
Sat Sep 13 23:23:37 CEST 2008


On 9/13/08, June Kim <juneaftn at gmail.com> wrote:
> Hello,
>
>  I have a multivariate data with a single Y variable and 9 X variables.
>  I tried drawing a parallel coordinates with the data set without a
>  problem, using lattice library. However, I want to do some brushing on
>  the graph. For example, I want to distinguish the group of data lines
>  of which Y values are bigger than 0.5. It could be through
>  coloring(red line, maybe).

Lattice is not a good tool for interactive brushing. For
non-interactive grouping, you could do

parallel(iris[1:4], groups = iris$Species, horizontal.axis = FALSE)
parallel(iris[1:4], groups = (iris$Sepal.Width < 3), horizontal.axis = FALSE)

etc.

-Deepayan



More information about the R-help mailing list