[R] max/summary
Mahbub Latif
ahmlatif at yahoo.com
Sat May 17 20:47:18 CEST 2003
Hi,
What is the reason for getting two different max of a
vector from two functions max() and summary()? Here is
an example,
> set.seed(2222)
> x <- sample(x=1:100000, size=10000, replace=T)
> max(x)
[1] 99992
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
6 24510 49950 50020 75040 99990
Which value is the correct one? I had this problem
while I was working with microarry data.
Thanks.
Mahbub
More information about the R-help
mailing list