Library: | plot |
See also: | grpcp plot2 plotandrews plotsplom plotgt |
Quantlet: | plotpcp | |
Description: | Plots a parallel coordinates plot from a multivariate dataset. |
Usage: | plotpcp (x {, prep {, col}}) | |
Input: | ||
x | n x p matrix | |
prep | scalar | |
col | color |
grc.prep.none (0) - no transformation
grc.prep.standard (1) - standardize
grc.prep.zeroone (2) - to [0,1] (default)
grc.prep.pcacov (3) - pca on cov matrix
grc.prep.pcacorr (4) - pca on corr matrix
grc.prep.sphere (5) - sphering
; loads the library plot library("plot") ; reads the swiss banknote data(200x6) x = read("bank2") ; computes the principal components of x as parallel ; coordinate plot plotpcp(x, grc.prep.pcacov)
shows the principal components of x as a parallel coordinate plot