Skip to content
Prev 53782 / 398498 Next

or of a logical vector

On Thu, 5 Aug 2004, Liaw, Andy wrote:

            
any(v) has the advantage of having the same NA handling as Ben's function,
so that any(v) is TRUE if there is at least one TRUE and any number of NAs
and is NA if there are NAs and no TRUEs.

	-thomas