From: Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
Date: Fri 19 Apr 2002 - 06:22:24 EST
Message-id: <x2u1q8g3jz.fsf@blueberry.kubism.ku.dk>
Haun Jung <haun_jung@yahoo.com> writes:
> Hi, this may be a too simple question, but I was not
> able to find how to do it.
>
> 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?
The easiest would seem to be
boxplot(list(apple=x,banana=y))
-- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:12 EST