Athula Herath (Athula.Herath@ogs.co.uk)
Mon, 05 Jul 1999 14:02:29 +0100
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@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.0b3 on Tue 04 Jan 2000 - 13:33:55 EST