[R] or of a logical vector

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Aug 5 22:15:08 CEST 2004


"Liaw, Andy" <andy_liaw at merck.com> writes:

> Is there anything wrong with sum(v) > 0?

Yes, there is an any()-thing.... ;-)

(And NA handling differs too.)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list