Learn R Programming

archetypes (version 1.0)

pcplot-methods: Parallel coordinates plot.

Description

Parallel coordinates plot.

Usage

pcplot(x, ...)
## S3 method for class 'default':
pcplot(x, col=gray(0.7), lty=1, var.label=TRUE,
    rx=NULL, ...)
## S3 method for class 'archetypes':
pcplot(x, data, data.col=gray(0.7), data.lwd=1,
    atypes.col=2, atypes.lwd=2, atypes.lty=1, chull, chull.col=1,
    chull.lwd=2, chull.lty=1, ...)

Arguments

x
An data.frame or a archetypes object.
col
Line color.
lty
Line type.
var.label
Axes labels.
rx
A $2 \times m$ matrix with ranges for each dimension.
data
A matrix or data frame.
data.col
Color of data lines.
data.lwd
Width of data lines.
atypes.col
Color of archetypes lines.
atypes.lwd
Width of archetypes lines.
atypes.lty
Type of archetypes lines.
chull
An integer vector giving the indices of the points from data lying on the convex hull.
chull.col
Color of convex hull lines.
chull.lwd
Width of convex hull lines.
chull.lty
Type of convex hull lines.
...
Passed to the underlying plot functions.

Value

  • Undefined.

Details

Code copied from function parcoord of package MASS to simply play arround with the visualization of archetypes. At a later date, when it is clear which visualisation is the best, the functionality is probabibly merged with the original function or it is possible with parallel coordinate plots which are available et all.