[R] quantile() and boxplot.stats()

apjaworski@mmm.com apjaworski at mmm.com
Tue May 14 20:15:30 CEST 2002


I think this is already explained well enough in the help page for
boxplot.stats.

Andy

__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN 55144-1000
-----
E-mail: apjaworski at mmm.com
Tel:  (651) 733-6092
Fax:  (651) 736-3122


                                                                                                                                               
                    "Vladimir N.                                                                                                               
                    Kutinsky"            To:     r-help at stat.math.ethz.ch                                                                      
                    <kutinskyv at obni      cc:     (bcc: Andrzej P. Jaworski/US-Corporate/3M/US)                                                 
                    nsk.com>             Subject:     [R] quantile() and boxplot.stats()                                                       
                                                                                                                                               
                    05/14/2002                                                                                                                 
                    12:32                                                                                                                      
                                                                                                                                               
                                                                                                                                               





Hello,

I faced something I can't understand. When I use boxplot.stats(1:10) and
quantiles(1:10) the results are different for 25% and 75%:

> boxplot.stats(1:10)
$stats
[1]  1.0  3.0  5.5  8.0 10.0

> quantile(1:10)
   0%   25%   50%   75%  100%
 1.00  3.25  5.50  7.75 10.00

Actually, I expected the value 3 for 25% and 8 for 75% as results of
quantile(1:10). Can you please explain me why it isn't so.

Regards,
Vlad

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
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