Last chance! 50% off unlimited learning
Sale ends in
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 FAL
panel.bpplot
, boxplot
, ecdf
,
bwplot
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)
Run the code above in your browser using DataLab