Library: | graphic |
See also: | grbox grboxmedian |
Quantlet: | grboxmean | |
Description: | Generates a boxplot with the mean line. The box borders are plus/minus one standard deviation of the mean line and the whiskers are plus/minus two standard deviations. |
Usage: | bp = grboxmean (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 = grboxmean(t) d = createdisplay(1,1) show(d, 1, 1, bp)
shows a "normal" boxplot