Birgit Lemcke wrote:
> Thanks that was really a quick answer.
>
> It works but I get this warning message anyway:
>
> 1: kein nicht-fehlendes Argument f�r min; gebe Inf zur�ck (None not- 
> lacking argument for min; give Inf back)
> 2: kein nicht-fehlendes Argument f�r max; gebe -Inf zur�ck
>
> what does this mean?
>
>   

Same as this

> max(c(NA, NA), na.rm=T)
[1] -Inf
Warning message:
no non-missing arguments to max; returning -Inf

which is related to the issues of empty sum(), prod(), any(), and all()
in that it allows a consistent concatenation rule:

max(c(x1,x2)) == max(max(x1), max(x2))

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to