Re: [R] inconsistent behavior of summary function

2011-10-04 Thread Jeanne M. Spicer
I'm not sure how returning an incorrect result is ever a 'positive' feature but at least the documentation could more clearly warn users that this method behaves differently in these cases -- summary(rock[,1]) vs summary(rock[,1:2]) -- and that the method can and does return incorrect results wi

[R] inconsistent behavior of summary function

2011-10-03 Thread Jeanne M. Spicer
The summary function behaves inconsistently with data frame columns, e.g. summary(rock) #max of area 12212, correct summary(rock$area) #max of area 12210, incorrect max I know that summary(rock$area, digits=5) will correct the error (I DID read the manual). But my point is the inc