Library: | graphic |
See also: | grbox grboxmean |
Quantlet: | grboxmedian | |
Description: | Generates a boxplot with the median line. The box borders are the percentiles which are equivalent to the mean plus/minus one standard deviation in the normal case (16% and 84% percentile) and the whiskers are equivalent to to the mean plus/minus two standard deviations in the normal case (2.5% and 97.5% percentile). |
Usage: | bp = grboxmedian (x {, col}) | |
Input: | ||
x | n x 1 vector | |
col | color | |
Output: | ||
bp | composed graphical object |
library("graphic") t =(normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25) bp = grboxmedian(t) d = createdisplay(1,1) show(d, 1, 1, bp)
shows a "robust" boxplot