isNaDS {dsBase}R Documentation

Checks if a vector is empty

Description

this function is similar to R function is.na but instead of a vector of booleans it returns just one boolean to tell if all the element are missing values.

Usage

isNaDS(xvect)

Arguments

xvect

a numerical or character vector

Value

the integer '1' if the vector contains on NAs and '0' otherwise

Author(s)

Gaye, A.


[Package dsBase version 6.3.0 ]