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: dispbox dispdotcl dispbarcl plotboxcl grboxcl

Quantlet: dispboxcl
Description: generates a standard boxplot for a classified data set.

Usage: bp = dispboxcl(gr, fr)
Input:
gr m x n grid matrix, each column must be ordered ascendently
fr (m-1) x n matrix of frequencies for each interval in each column
Output:
bp composed graphical object

Note:

Example:
library("graphic")
library("stats")
randomize(666)
; make four columns each with 15 random intervals
gr = sort(normal(5,4)|5+normal(5,4)|10+normal(5,4),0)
gr[,3] = 10 + gr[,3]
fr = ceil(30*uniform(14)~20*uniform(14,2)~2*uniform(14))
bp1 = dispboxcl(gr[,1],fr[,1])
bp2 = dispboxcl(gr,fr)
db = createdisplay(1, 2)
show(db, 1, 1, bp1)
show(db, 1, 2, bp2)

Result:
Shows a boxplot of the first column of the data in the left
output window and four boxplots are shown in the right display
window.



Author: K. Komorad, W. Haerdle, 20010716. license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006