Learn R Programming

dsBase (version 6.3.3)

isNaDS: 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)

Value

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

Arguments

xvect

a numerical or character vector

Author

Gaye, A.