is.na: Missing lazy values

is.naR Documentation

Missing lazy values

Description

Check whether values are missing in lazy vectors and lazy matrices.

Usage

## S4 method for signature 'lazyVector'
is.na(x)

## S4 method for signature 'lazyMatrix'
is.na(x)

## S4 method for signature 'lazyVector'
anyNA(x, recursive = FALSE)

## S4 method for signature 'lazyMatrix'
anyNA(x, recursive = FALSE)

Arguments

x

a lazy vector or a lazy matrix

recursive

ignored

Value

The is.na function returns a logical vector or a logical matrix, and the anyNA function returns a logical value.

Note

The is.na function does not detect lazy NaN numbers; see the note in isNaN_or_Inf.

Examples

is.na(NA_lazy_)
is.na(lazyvec(c(1, 2, NA, NaN, Inf)))
anyNA(lazyvec(c(1, 2, NA)))

lazyNumbers documentation built on Nov. 22, 2022, 1:05 a.m.