.BG
.VE $Header: /usr3/s/current/s/.help/RCS/all,v 1.2 83/12/30 19:23:52 rab Exp $
.FN all
.FN any
.TL
all any: Logical Sum and Product
.CS
all(x)
any(x)
.PP
.AG x
logical expression.  Missing values (NAs) are allowed.
.RT
either TRUE or FALSE. `all' evaluates to TRUE if all the
elements of the argument are TRUE; FALSE if there are any NAs or FALSEs.
`any' evaluates to TRUE if any of the elements of the
argument are TRUE; FALSE otherwise.
.EX
if(all(x>0))x <- sqrt(x)
.KW logic
.KW basic*
.WR
