Skip to content

max-min plot

3 messages · Antonio Olinto, Martin Henry H. Stevens, Frank E Harrell Jr

#
Hello R-list members,

I’m trying to make a min-avg-max plot (like a boxplot, without 
box and outliers, i.e., for each class of "x" a vertical line 
indicating the range (max-min) and an horizontal line or point 
indicating the mean) with data like:

Year Avg Min Max
98   10   7  13
99   12  10  15
01   11   6  14

Which command should be used?

Many thanks,

Antonio Olinto


-----------------------------------------------------
E-Mail enviado por WebMail - http://www.bignet.com.br


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
I don't know about boxes, per se, but how about plotting the average and
then error bars with termini at the min and max? See archives regarding how
to plot confidence intervals, or standard error plots.
Also, http://lark.cc.ukans.edu/~pauljohn/R/statsRus.html, has code for this.

Good luck,
*****************************
Martin Henry H. Stevens
HStevens at muohio.edu
tel: (513) 529 - 4206
FAX: (513) 529 - 4243

338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056
http://www.muohio.edu/~botcwis/bot/henry.html

----- Original Message -----
From: <aolinto at bignet.com.br>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, September 25, 2001 10:45 AM
Subject: [R] max-min plot
-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Soon the xYplot function in the Hmisc library
will be available for R for beta test.  This allows the user to
easily make Lattice xyplot-type plots with error bars
and bands.  I'll make an announcement when this is ready.
See documentation at
http://hesweb1.med.virginia.edu/biostat/s/help/xYplot.html

-Frank Harrell
"Martin Henry H. Stevens" wrote: