Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grbox grboxmean grboxmedian

Quantlet: grboxgrouped
Description: Generates a boxplot for grouped data with mean line (dotted) and median line (solid).

Link:
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

Example:

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)

Result:

shows a boxplot for grouped data


Library: graphic
See also: grbox grboxmean grboxmedian

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Sigbert Klinke, 981123
(C) MD*TECH Method and Data Technologies, 21.9.2000