isNaDS: Checks if a vector is empty

View source: R/isNaDS.R

isNaDSR 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.


datashield/dsBase documentation built on May 16, 2023, 10:01 p.m.