Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: plot
See also: transform plotandrews plotstar plotsplom plotgt

Quantlet: plot2
Description: Plots the first two columns from a multivariate dataset.

Link:
Usage: plot2 (x {, prep {, col}})
Input:
x n x p matrix
prep scalar
col color

Note:

Example:
; loads the library plot
library("plot")
; reads the swiss banknote data(200x6)
x = read("bank2")
; computes the principal components of x
plot2(x, grc.prep.pcacov)

Result:
shows the first two principal components of x



Author: S. Klinke, 19970201
(C) MD*TECH Method and Data Technologies, 05.02.2006