Re: [R] R lattice bwplot: Fill boxplots with specific color depending on factor level

2015-04-23 Thread Pablo Fleurquin
panel = panel.superpose, > >panel.groups = panel.bwplot, > >fill = c(red,amber,green) > > ) > > > > Duncan > > > > Duncan Mackay > > Department of Agronomy and Soil Science > > University of New England > > Armidale NSW 2351

Re: [R] R lattice bwplot: Fill boxplots with specific color depending on factor level

2015-04-22 Thread Richard M. Heiberger
of Agronomy and Soil Science > University of New England > Armidale NSW 2351 > Email: home: mac...@northnet.com.au > > -Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Pablo > Fleurquin > Sent: Thursday, 23 April 2015 02:03 >

Re: [R] R lattice bwplot: Fill boxplots with specific color depending on factor level

2015-04-22 Thread Duncan Mackay
Sent: Thursday, 23 April 2015 02:03 To: r-help@r-project.org Subject: [R] R lattice bwplot: Fill boxplots with specific color depending on factor level Hi, I thoroughly looked for an answer to this problem with no luck. I have a dataframe with 3 factor levels: YY, NN, YN *>mydata <- rbind

[R] R lattice bwplot: Fill boxplots with specific color depending on factor level

2015-04-22 Thread Pablo Fleurquin
Hi, I thoroughly looked for an answer to this problem with no luck. I have a dataframe with 3 factor levels: YY, NN, YN *>mydata <- rbind(data.frame(Col1 = rnorm(2*1000),Col2 =rep(c("A", "C"), each=1000),Col3=factor(rep(c("YY","NN"), 1000))),data.frame(Col1 = rnorm(1000),Col2 =rep(c("B")),Col3=f