[R] max & summary contradict each other

Sam Steingold sds at gnu.org
Fri Sep 28 18:14:35 CEST 2012


why does summary report max 27600 and not 27603?

> x <- c(27603, 1)
> max(x)
[1] 27603
> summary(x)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
      1    6902   13800   13800   20700   27600 

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://memri.org http://pmw.org.il
http://dhimmi.com http://iris.org.il http://mideasttruth.com
Vegetarians eat Vegetables, Humanitarians are scary.



More information about the R-help mailing list