[R] Boxplot with two or more Y vectors

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Apr 17 19:41:51 CEST 2011

On 13.04.2011 15:58, Håvard Wahl Kongsgård wrote:
> Hi, for a simple boxplot in R, in the formula is it possible to include two
> or more Y vectors directly. Or is that only possibility by aggregating the
> data first?

Do you think about something like

boxplot(cbind(y1, y2))


Uwe Ligges

More information about the R-help mailing list