Summary shows wrong maximum
Sebastian Spaeth wrote:
Hi all, I have a list with a numerical column "cum_hardreuses". By coincidence I discovered this:
max(libs[,"cum_hardreuses"])
[1] 1793
summary(libs[,"cum_hardreuses"])
Min. 1st Qu. Median Mean 3rd Qu. Max.
1 2 4 36 14 1790
(note the max value of 1790) Ouch this is bad! Anything I can do to remedy
this? Known bug?
No, it's a feature! See ?summary: printing is done up to 3 significant digits by default. If you want it more precise, for example use: summary(libs[,"cum_hardreuses"], digits=10) Uwe Ligges
This is a Version 1.16 (3198) of the MacOSX R. Regards, Sebastian Spaeth
______________________________________________ R-help at stat.math.ethz.ch 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.