I didn't fully understand the requirement.

This version puts the first col in the first panel, the second col in the
second panel,
and if there more more levels to a, and more colors, then the nth color in
the nth panel.

bwplot(b ~ x | a, data=DF,
       panel=function(..., col) {
         panel.col=col[panel.number()]
         panel.bwplot.intermediate.hh(..., col=panel.col)
       },
       col = c("darkorange1","limegreen"))



On Mon, Apr 8, 2013 at 11:54 AM, Concha Bielza <mcbie...@fi.upm.es> wrote:

>
>  bwplot(b~x|a,data=DF, panel=panel.bwplot.intermediate.hh,
>            col = c("darkorange1","limegreen","limegreen"))
>
> It doesn't work. It doesn't put the same color for the boxes within the
> same panel...
>
>
> --
> Prof. Concha Bielza
> Department of Artificial Intelligence
> Technical University of Madrid
> Campus de Montegancedo, s/n
> 28660 Boadilla del Monte
> Madrid
> tel: +34 91 336 7434
> fax: +34 91 352 4819 http://cig.fi.upm.es/index.php/members/65-concha-bielza
>
> I try to answer my email quickly,
> but I normally check it only once a day.
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to