Try this;
DF <- as.data.frame(matrix(rnorm(60), 10))
boxplot(DF, col = rep(seq(ncol(DF)) + 1, each = 2))
On Tue, Oct 13, 2009 at 2:11 AM, kennyPA wrote:
>
> Can anybody help me on how to boxplot multiple groups with different color?
> Say, I have 3 groups of data, each group with 2 boxes, and I'
g 13 oktober 2009 7:12
Aan: r-help@r-project.org
Onderwerp: [R] multiple groups with different colors in boxplot
Can anybody help me on how to boxplot multiple groups with different
color?
Say, I have 3 groups of data, each group with 2 boxes, and I'd like to
have the following layout in
Can anybody help me on how to boxplot multiple groups with different color?
Say, I have 3 groups of data, each group with 2 boxes, and I'd like to have
the following layout in the boxplot:
red, red, green, green, blue, blue
thanks in advance.
--
View this message in context:
http://www.nabble
3 matches
Mail list logo