On 28/09/2012 12:14 PM, Sam Steingold wrote:
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


Because you asked for 3 digit accuracy.  See ?summary.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to