[R] summary() and range(): inconsistency?

Agustin Lobo alobo at ija.csic.es
Mon Nov 26 17:50:14 CET 2001


I've found the following and I'm kind
of confused:

> summary(delme)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
      1    2950    5699    5756    8572   11680 

> range(delme)
[1]     1 11675


summary() and range()  give different Max. value for the same
vector!


Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list