Skip to content
Prev 340515 / 398500 Next

Boxplot colors

## Shane,

## This uses your color_list.   Your other variables weren't included
in the email
## so I invented some data.

## I recommend bwplot() using panel=panel.bwplot.superpose

## and I also show how to use boxplot()


## install.packages("HH") ## if necessary.
library(HH)
## install.packages("reshape2") ## if necessary.
library(reshape2)

## you didn't include data, so I am making up some data
pH <- data.frame(matrix(rnorm(200), 10, 20))

bwplot(value ~ variable, data=melt(pH), col=unlist(colors_list),
       panel=panel.bwplot.superpose, groups=variable)

boxplot(value ~ variable, data=melt(pH), col=unlist(colors_list))

## Rich
On Thu, May 22, 2014 at 5:50 AM, Shane Carey <careyshan at gmail.com> wrote: