[R] naming boxes in boxplot
Achim Zeileis
zeileis at ci.tuwien.ac.at
Thu Apr 18 22:14:45 CEST 2002
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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list