Library: | plot |
See also: | plotpcp plotandrews plotsplom plotgt |
Quantlet: | plotstar | |
Description: | Plots a star diagram. |
Usage: | bp = grstar (x {, option {, col}}) | |
Input: | ||
x | n x 1 vector | |
option | scalar | |
col | color | |
Output: | ||
dp | composed graphical object |
option[2,1] decides about reference lines: grc.star.none 0 no reference (default) grc.star.standard 1 reference mean / std. dev grc.star.robust 2 reference median / iqr
option[3,1] fixes the number of stars in y direction.
; loads the library plot library("plot") ; reads the swiss banknote data(200x6) x = read("bank2") ; no transformation of the data, no reference lines and ; 20 star diagram in the vertical direction opt = 0|0|20 ; show the data as star diagrams plotstar(x, opt)
shows star diagrams