[R] boxplot question in other terms

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Apr 7 17:34:39 CEST 2000

Christine Serres <serres at valigene.com> writes:

> First of all, I thanks you all for replying me .
> I've not asked my question in good terms, so I've made a little drawing
> of what I want to do in my boxplot   : - )

Mmm. That didn't come out too well on my end,  but I think I know
where you're heading.

> (I don't want my boxes to be shifted  for the same  Test value because I
> know that boxplot 1 and 2 don't overlap)
> I'm not sure that the boxplot function can do that.
> But perhaps someone know a trick to help me.

I don't think there's a "standard" way to do that. It would look
horrible if the boxes did overlap...

One useful trick to know is that you can overlay several plots like this:


Now that looks awful of course, but if you ensure that the axes are
the same, then it can be turned into something useful. So how about
playing with xlim, ylim &c ?

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list