On Mon, 27 Aug 2007, Adam D. I. Kramer wrote:
> Hello,
>
> I'm having the following questionable behavior:
>
>> summary(m)
> Min. 1st Qu. Median Mean 3rd Qu. Max.
> 1 13000 26280 25890 38550 50910
>> max(m)
> [1] 50912
>
>> typeof(m)
> [1] "integer"
>> class(m)
> [1] "integer"
>
> ...it seems to me like max() and summary(m)[6] ought to return the same
> number. Am I doing something wrong?
>
They do return the same number, they just print it differently. summary()
prints four significant digits by default.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
______________________________________________
[email protected] 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.