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: plot
See also: plotbox dispdot

Quantlet: plotdot
Description: High level routine for dotplots.

Usage: plotdot(inX,inColorScheme {,inFactor})
Input:
inX n x 1 Vector (continuous data)
inColorScheme m x 3 Vector of rgb colors for tonal highlighting
inFactor n x 1 Vector (discrete) specifying groups within inX

Note:

Example:
library("graphic")
library("plot")
library("stats")
x = normal(4000)
theFactor = string("one", 1:1000) | string("two", 1:1000)
theFactor = theFactor | string("three", 1:1000) | string("four", 1:1000)
plotdot(x, grcolorscheme("topographic"), theFactor)

Result:
Four dotplots in one display.



Author: S. Lauer, 19990302
(C) MD*TECH Method and Data Technologies, 05.02.2006