lattice (version 0.3-1)

parallel: Parallel Coordinate Plots

Description

Draw scatter plot matrices

Usage

parallel(formula, data, between, varnames, ...)

Arguments

formula
a formula describing the form of the plot. A formula of the form ~ x | g1 * g2 * ..., where x is a matrix/data frame. Parallel coordinate plots of the columns will be produced, conditional on the variables g1,
data
data frame where variables in the call are evaluated
between
defaults to .5 on both x and y
varnames
Optional column names for x
...
other arguments

synopsis

parallel(formula, data = parent.frame(), aspect = "fill", between = list(x = 0.5, y = 0.5), layout = NULL, panel = panel.parallel, prepanel = NULL, scales = list(), strip = TRUE, groups = NULL, xlab = NULL, xlim, ylab = NULL, ylim, varnames, ..., subscripts = !is.null(groups), subset = TRUE)

Details

see the documentation for trellis.args

See Also

trellis.args, panel.parallel, Lattice

Examples

Run this code
data(iris)
parallel(~iris[,1:4]|Species, data = iris, layout=c(3,1))

Run the code above in your browser using DataLab