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: graphic
See also: grpcp grcontour3 grsunflower plotandrews

Quantlet: grandrews
Description: Generates an Andrews plot.

Link:
Usage: bp = grandrews (x, nt {, col})
Input:
x n x p matrix
nt scalar number of gridpoints in [-pi,pi]
col color
Output:
bp composed graphical object

Example:
; load the library graphic
library("graphic")
; load the swiss banknote data
x  = read("bank2")
; standardize x
x  =(x-mean(x))./sqrt(var(x))
; select 20 observations
x  = x[90:110,]
; generate the andrews curves
bp = grandrews(x, 50)
; show the andrews curves
d  = createdisplay(1,1)
show(d, 1, 1, bp)

Result:
shows an Andrews plot



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