Determine whether vectors consist of NA values only.
ALLNAS(x)
x can be simple vector or data frame. Latter is evaluated row-wise.
T/F for single vector, vector with logicals for data frames.
VMATCH
# 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