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: grdot grdotcl2 grboxcl grhistcl plotdotcl dispdotcl2 grdotcl grdotd grdotdl grdotdlcl

Quantlet: grdotdlcl2
Description: generates a dotplot for classified data as a density line.

Usage: dp = grdotdlcl2(gr,fr{,col})
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
col (optional) scalar, color of the density line
Output:
dp composed graphical object

Note:

Example:
library("graphic")
library("stats")
randomize(666)
gr = 1:15
fr = ceil(20*uniform(14))
dp = grdotdlcl2(gr,fr,3)
d  = createdisplay(1,1)
show(d, 1, 1, dp)

Result:
shows a dotplot as a density line



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