isFALSE {base} R Documentation

Logical Operators

Description


isTRUE(x) is the same as { is.logical(x) && length(x) == 1 && !is.na(x) && x };
isFALSE() is defined analogously. Consequently, if(isTRUE(cond)) may be preferable to if(cond) because
of NAs.

In earlier R versions, isTRUE <- function(x) identical(x, TRUE), had the drawback to be false e.g.,
for x <- c(val = TRUE).

Usage

isFALSE(x);

Arguments

x

-

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type boolean.

clr value class

Examples


[Package base version 2.33.856.6961 Index]