| Library: | stats |
| See also: | pca factor |
| Macro: | draftman | |
| Description: | Generates a draftman plot of X. |
| Usage: | draftman(x {, col {,layout}}) | |
| Input: | ||
| x | n x p matrix | |
| col | color | |
| layout | layout | |
; 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)
shows a scatterplot matrix
| Library: | stats |
| See also: | pca factor |