| Library: | graphic |
| See also: | grbox grboxmean grboxmedian |
| Quantlet: | grboxgrouped | |
| Description: | Generates a boxplot for grouped data with mean line (dotted) and median line (solid). |
| Usage: | bp = grboxgrouped (ug, og, n {, col}) | |
| Input: | ||
| ug | p x 1 sorted vector of lower borders of group | |
| og | p x 1 sorted vector of upper borders of group | |
| n | p x 1 vector of absolute or relative frequencies of group | |
| col | color | |
| Output: | ||
| bp | composed graphical object | |
library ("graphic")
// structure of age of women in west germany 31.12.95
ug = #(0, 15, 40, 65)
og = #(15, 40, 65, 80)
t = #(5326, 11911, 10725, 6735)
bp = grboxgrouped (ug, og, t)
d = createdisplay (1,1)
show (d, 1, 1, bp)
shows a boxplot for grouped data
| Library: | graphic |
| See also: | grbox grboxmean grboxmedian |