pv_pcp {PairViz}R Documentation

Enhanced parallel coordinate plot

Description

This function draws a parallel coordinate plot of data. Variables may be reordered and panels colored in the display. It is a modified version of parcoord {MASS}.

Usage

pv_pcp(data, order = NULL, panel.colors = NULL, col = 1, lty = 1, horizontal = TRUE, mar = NULL,scale=TRUE,axis.width=0, ...)

Arguments

data a numeric matrix
order the order of variables. Default is the order in data.
panel.colors either a vector or a matrix of panel colors. If a vector is supplied, the ith color is used for the ith panel. If a matrix, dimensions should match those of the variables. Diagonal entries are ignored.
col a vector of colours, recycled as necessary for each observation.
lty a vector of line types, recycled as necessary for each observation.
horizontal If TRUE, orientation is horizontal.
mar margin parameters, passed to par.
scale If TRUE each column of data is scaled to unit interval prior to plotting.
axis.width A vector of widths (recycled as needed) used to stretch the axes.
... graphics parameters which are passed to matplot.

Details

If panel.colors is a matrix and order is supplied, panel.colors is reordered.

Author(s)

Catherine B. Hurley

See Also

guided_pcp


[Package PairViz version 1.0 Index]