paracoor {denpro}R Documentation

Makes a parallel coordinate plot

Description

Makes a parallel coordinate plot of a data matrix: the coordinates of the observations are plotted so that the coordinate axes are drawn parallel to each other and the coordinates of a single observation are joined with lines.

Usage

paracoor(dendat, xmargin = 0.1,
paletti = matrix("black",dim(dendat)[1],1),
noadd = TRUE, verti = NULL, cex.axis = 1)

Arguments

dendat n*d data matrix of real numbers
xmargin positive real number; empty space in left and right
paletti n vector of colors; the lines will be colored with these colors
noadd TRUE or FALSE; if FALSE, then the lines will be added to an existing plot
verti real number or NULL; gives the x coordinate of a vertical line; can be used to divide the plot vertically to two parts
cex.axis the magnification to be used for axis annotation

Value

Makes a plot on the graphics window

Author(s)

Jussi Klemela

References

Inselberg (1985), Wegman (1990)

Examples

dendat<-sim.data(n=100,type="mulmod")
paracoor(dendat)

set.seed(1)
dendat<-matrix(rnorm(300),100,3)
paracoor(dendat)

set.seed(1)
dendat<-matrix(rnorm(400),100,4)
paracoor(dendat)


[Package denpro version 0.9.0 Index]