parcoord()function of the
MASS library provides the
parcoord() function that automatically builds parallel coordinates chart.
The input dataset must be a data frame composed by numeric variables only. Each variable will be used to build one vertical axis of the chart.
It is important to find the best variable order in your parallel coordinates chart. To change it, just change the order in the input dataset.
RColorBrewer package is used to generate a nice and reliable color palette.
Data visualization aims to highlight a story in the data. If you are interested in a specific group, you can highlight it as follow: