| Library: | graphic |
| See also: | grbar grdot grhist grdotd grash |
| Quantlet: | grbox | |
| Description: | Generates a boxplot with mean line and median line. Outliers outside the intervall [Q_25-3*IQR, Q_75+3*IQR] will be plotted as crosses, outliers ouside the intervall [Q_25-1.5*IQR, Q_75+1.5*IQR] will be plotted as circles. |
| Usage: | bp = grbox (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 = grbox (t)
d = createdisplay (1,1)
show (d, 1, 1, bp)
shows a boxplot
| Library: | graphic |
| See also: | grbar grdot grhist grdotd grash |