any {linq} | R Documentation |
Given a set of logical vectors, is at least one of the values true?
any(test,
narm = FALSE);
The value is a logical vector of length one.
Let x denote the concatenation of all the logical vectors in ... (after coercion), after removing NAs if requested by na.rm = TRUE. The value returned Is True If at least one Of the values In x Is True, And False If all Of the values In x are False (including If there are no values). Otherwise the value Is NA (which can only occur If na.rm = False And ... contains no True values And at least one NA value).