allNA {dateutils}R Documentation

Are all elements 'NA'?

Description

Return a logical indicating if all elements are 'NA'

Usage

allNA(x)

Arguments

x

data vector

Value

A logical variable indicating all elements are 'NA'

Examples

allNA(c(NA, NA, 1, NA)) ## FALSE

[Package dateutils version 0.1.5 Index]