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: stats
See also: pca factor

Quantlet: draftman
Description: Generates a draftman plot of X.

Usage: draftman(x {, col {,layout}})
Input:
x n x p matrix
col color
layout layout

Example:
; loads the library stats
library("stats")
; loads the library graphic
library("graphic")
; reads the swiss banknote data
x   = read("bank2")
; sets the color to red
col = grc.col.red*matrix(200)
; sets the symbol type to a circle for the genuine
; banknotes and a cross to  for the forged banknotes
layout= grc.sym.circle*matrix(100)|grc.sym.cross*matrix(100)
; shows a simple draftman plot of the data
draftman(x, col, layout)

Result:
shows a scatterplot matrix



Author: K. Zanter, S. Klinke, W. Haerdle, 19970820 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006