Description Usage Arguments Author(s) References See Also Examples
Plots data in parallel coordinates for displaying multidimensional data.
1 2 3 |
object |
Object containing the data. Accepted data types are
data frames, matrices and list, which are all converted internally
by |
order |
A |
flip |
Vector specifying if a dimension should be flipped
(inversed) or not. If |
horizontal |
If |
col |
Vector specifying the line color for each data point. |
lty |
Vector specifying the line types for each data point. |
lwd |
Vector specifying the line width for each data point. |
xlab, ylab |
The labels on the x and the y axis. |
las |
The rotation of the dimension labels. Default value is
|
dim.col |
The colors of the dimension lines. |
ylim |
A vector of two numbers or a matrix with two rows. The
first and the second row corresponds to the lower and the upper
cutoff levels, respectively. If a value is |
... |
Other parameters accepted by |
Henrik Bengtsson
Wegman, E., (1990). Hyperdimensional Data Analysis Using Parallel Coordinates. Journal of American Statistics Association, 85, 664-675.
To plot data in three dimensions see plot3d
().
1 2 3 4 5 6 7 8 9 10 11 | data(freeny)
plotParallel(freeny, order=2:5, flip=c(FALSE,TRUE,FALSE,FALSE))
data(airquality)
r <- range(airquality$Temp, na.rm=TRUE)
tempidx <- floor(99*(airquality$Temp-r[1])/(r[2]-r[1]))+1
col <- heat.colors(100)[tempidx]
r <- range(airquality$Wind, na.rm=TRUE)
windidx <- (airquality$Wind-r[1])/(r[2]-r[1])
lwd <- 2*windidx+1
plotParallel(airquality, order=1:4, col=col, lwd=lwd, horizontal=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.