Library: | plot |
See also: | grandrews plot2 plotpcp plotsplom |
Quantlet: | plotandrews | |
Description: | Plots andrews curves from a multivariate dataset andrews. |
Usage: | plotandrews (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]
grc.prep.pcacov (3) - pca on cov matrix (default)
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 andrews curves plotandrews(x, grc.prep.pcacov)
shows the principal components of x as andrews curves