parcoord: Parallel Coordinates Plot

Description Usage Arguments Side Effects Author(s) References Examples

Description

Parallel coordinates plot

Usage

1
2
parcoord(x, col = 1, lty = 1, var.label = FALSE, 
group, perm, negate, rep = FALSE, ...)

Arguments

x

a matrix or data frame who columns represent variables. Missing values are allowed.

col

A vector of colours, recycled as necessary for each observation.

lty

A vector of line types, recycled as necessary for each observation.

var.label

If TRUE, each variable's axis is labelled with maximum and minimum values.

group

A group variable to select colours. col may supersede this.

perm

A permutation, or any index sequence, selecting the variable to display and their order. Repetitions are allowed.

negate

Variables to be shown in inverse scale. Names are modified to mark this. Indices are in original (unpermuted, unselected) order.

rep

Repeat display cyclically.

...

Further graphics parameters which are passed to matplot.

Side Effects

a parallel coordinates plots is drawn.

Author(s)

B. D. Ripley. Enhancements based on ideas and code by Fabian Scheipl.\ Modified by G. Sawitzki.

References

Inselberg, A. (1985) The plane with parallel coordinates The Visual Computer 1, 69–91.

Inselberg, A. (2008) Parallel Coordinates Springer, Heidelberg.

Wegman, E. J. (1990) Hyperdimensional data analysis using parallel coordinates. Journal of the American Statistical Association 85, 664–675.

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

Examples

1
2
3
4
5
6
parcoord(state.x77[, c(7, 4, 6, 2, 5, 3)])

parcoord(state.x77, perrm=c(7, 4, 6, 2, 5, 3))

ir <- rbind(iris3[,,1], iris3[,,2], iris3[,,3])
parcoord(log(ir)[, c(3, 4, 2, 1)], col = 1 + (0:149)%/%50)

sintro documentation built on May 2, 2019, 5:26 p.m.