.BG
.FN all
.FN any
.TL
Logical Sum and Product
.CS
all(...)
any(...)
.AG ...
any number of arguments, each coerced to mode logical.
.NA
.RT
either `TRUE' or `FALSE'.
`all' evaluates to `TRUE' if all the
elements of all the arguments are `TRUE'.
It is `FALSE' if there are any `FALSE's.
In all other cases (mixtures of `NA' and `TRUE') the result is `NA'.
If all the arguments are of length 0, `all' returns `TRUE'.
.PP
`any' evaluates to `TRUE' if any of the elements of any of the
arguments is `TRUE'.
It is `FALSE' if all the elements are `FALSE'.
In all other cases (mixtures of `NA' and `FALSE') the result is `NA'.
If all the arguments are of length 0, `any' returns `FALSE'.
.EX
if(all(x>0)) x <- sqrt(x)
.KW logic
.WR
