check_null_na {packDAMipd} | R Documentation |
Function to check the variable null or NA
Description
Function to check the variable null or NA
Usage
check_null_na(variable)
Arguments
variable |
name of variable or list of variable to check |
Value
-1 or -2 as error, else return 0 as success
Examples
var = c("a")
check_null_na(var)
[Package packDAMipd version 1.1.0 Index]