[R] summary gives inaccurate data

Christoph M. Friedrich chris at gfm-mbh.de
Wed Jun 9 23:02:04 CEST 1999


Hi,
using R64.1 the summary function for simple statistics of a vector gives
inaccurate
results for the maximum. 
Example:
summary(c(123456,1,2,3))

gives :

     Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
     1.00      1.75      2.50  30870.00  30870.00 123500.00 

The Max value ist wrong in a mathematical sense. I've tried with S-Plus,
it gives the same result,
but this seems to be inaccurate. 

Any suggestions for this problem

   Chris

-- 
Christoph M. Friedrich        | mailto:friedrich at computer.org 
Gesellschaft für Modulfermenterbau mbH (GfM mbH) |
http://www.tussy.uni-wh.de/~chris
Alfred-Herrhausen Str. 44 ; D-58455 Witten, Germany
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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