any {linq} R Documentation

Are Some Values True?

Description


Given a set of logical vectors, is at least one of the values true?

Usage

any(test,
    narm = FALSE);

Arguments

test

zero or more logical vectors. Other objects of zero length are ignored, and the rest are coerced to logical ignoring any class.

narm

logical. If true NA values are removed before the result Is computed. [as boolean]

Details

Authors

SMRUCC genomics Institute

Value

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).

clr value class

Examples


[Package linq version 2.33.856.6961 Index]