[R] boxplots of 1 (or 2 or 3) "datum" ..

Rashid Nassar rnassar at duke.edu
Wed Mar 15 19:39:36 CET 2000


When I needed a plot like what I think you want, I have used one of:

   plot(as.numeric(X),y)  where X is a factor or
   plot.default(X,y) 



best regards,

Rashid

(Rashid Nassar)

On Wed, 15 Mar 2000, Dan E. Kelley wrote:

> Date: Wed, 15 Mar 2000 09:25:20 -0400 (AST)
> From: Dan E. Kelley <kelley at Phys.Ocean.Dal.CA>
> To: Martin Maechler <maechler at stat.math.ethz.ch>
> Cc: Dan Kelley <Dan.Kelley at Dal.Ca>, r-help at stat.math.ethz.ch
> Subject: Re: [R] boxplots of 1 (or 2 or 3) "datum" ..
> 
> On Wed, 15 Mar 2000, Martin Maechler wrote:
> > Problem is I cannot repeat your example, since you didn't use "public" data.
> > (Usually, you'd construct data, something like...
> 
> First, thanks very much for your informative suggestion about creating
> example data.  I'm not good enough at R yet to have thought of that,
> and your email taught me some new things, which I really appreciate.
> (I didn't enclose the actual data because they relate to confidential
> scholarship evaluations.)
> 
> > *Or* are you suggesting that for n=1, n=2 (and maybe n=3) per group
> >         plot(factor, continuous)
> > shouldn't use boxplot()s but rather dot plots ?
> > This is a suggestion that I've heard and had myself before,
> > very well worth discussing.
> 
> Yes, this is what was on my mind.  I'm not sure how the decision
> should be made to do boxplots versus dotplots, but maybe that could be
> an optional flag?
>  
> Again, thanks for the comments.  Dan.
> 
> Dan E. Kelley                   internet:   mailto:Dan.Kelley at Dal.CA
> Oceanography Department         phone:                 (902)494-1694
> Dalhousie University            fax:                   (902)494-2885
> Halifax, NS, CANADA, B3H 4J1    http://www.phys.ocean.dal.ca/~kelley
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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