[R] Anomaly in MIN (MAX) ?
Athula Herath
Athula.Herath at ogs.co.uk
Mon Jul 5 15:02:29 CEST 1999
I have observed the following differences in the use of min/max
functions between R and Splus (4.5)
R (0.64.1):
min(c(NA,NA,NA),na.rm=T)
returns the following
Warning in min(..., na.rm = na.rm) : no finite arguments to min/max;
returning extreme.
[1] 2147483647
S-Plus 4.5( Win32 edition)
min(c(NA,NA,NA),na.rm=T)
returns
[1] NA
The S-PLUS behaviour seems to be the right one
Thanks,
Athula.
--
Athula Herath, PhD
Oxford GlycoSciences,10, The Quadrant
Abingdon Science Park, Abingdon, OXON OX14 3YS
Email:Athula.Herath at ogs.co.uk Phone:+44 [0]1235 544202 FAX:+44 [0]1235
554701
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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