Learn R Programming

MoLE (version 1.0.1)

ALLNAS: NA vector identification

Description

Determine whether vectors consist of NA values only.

Usage

ALLNAS(x)

Arguments

x

x can be simple vector or data frame. Latter is evaluated row-wise.

Value

T/F for single vector, vector with logicals for data frames.

See Also

VMATCH

Examples

Run this code
# NOT RUN {
x=rep(NA, 8)
ALLNAS(x)
y=data.frame(c(1, rep(NA,2)), rep(NA,3))
ALLNAS(y)
# }

Run the code above in your browser using DataLab