all {linq} R Documentation

Are All Values True?

Description


Given a set of logical vectors, are all of the values true?

Usage

all(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 all Of the values In x are True (including If there are no values), And False If at least one Of the values In x Is False. Otherwise the value Is NA (which can only occur If na.rm = False And ... contains no False values And at least one NA value).

clr value class

Examples


[Package linq version 2.33.856.6961 Index]