Skip to content
Prev 167666 / 398502 Next

problem with apply(m, 1, min, na.rm=T)

On 21/01/2009, at 12:26 PM, Czerminski, Ryszard wrote:

            
RTFM:

      The minimum and maximum of a numeric empty set are '+Inf' and
      '-Inf' (in this order!) which ensures _transitivity_, e.g.,
      'min(x1, min(x2)) == min(x1, x2)'.  For numeric 'x' 'max(x) ==
      -Inf' and 'min(x) == +Inf' whenever 'length(x) == 0' (after
      removing missing values if requested).

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}