bpplot(..., name=TRUE, main="Box-Percentile Plot", xlab="", ylab="", srtx=0)
split
).
TRUE
to put names on the x-axis. Such names are taken from the
data vectors or the
names
attribute of the first argument if it is a list.
Set
name
to
FALSE
to suppress names.
If a character vector is supplied the names in the vector are
used to label the groups.
Jeffrey Banfield
umsfjban@bill.oscs.montana.edu
Modified by F. Harrell 30Jun97
Esty, W. W. and Banfield, J. D. (1992) "The Box-Percentile Plot," Technical Report (May 15, 1992), Department of Mathematical Sciences, Montana State University.
set.seed(1) x1 <- rnorm(500) x2 <- runif(500, -2, 2) x3 <- abs(rnorm(500))-2 bpplot(x1, x2, x3) g <- sample(1:2, 500, replace=TRUE) bpplot(split(x2, g), name=c('Group 1','Group 2')) rm(x1,x2,x3,g)