From: Achim Zeileis (zeileis@ci.tuwien.ac.at)
Date: Fri 19 Apr 2002 - 06:14:45 EST
Message-id: <3CBF2935.C28FF261@ci.tuwien.ac.at>
Haun Jung wrote:
>
> Hi, this may be a too simple question, but I was not
> able to find how to do it.
Well, it's not so hard
R> help(boxplot)
tells you about the argument
names: group labels which will be printed under each boxplot.
Set that to apple and banana...
Z
> So when I boxplot two vectors, i.e.
> x<-rbind(1,2,3,4)
> y<-rbind(3,4,5,6)
> boxplot(x,y)
>
> , could somebody tell me how to name the two boxes as
> apple and banana?
>
> Thanks much,
> Haun
>
> __________________________________________________
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:12 EST