Learn R Programming

packDAMipd (version 0.2.0)

check_null_na: 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

Run this code
# NOT RUN {
var = c("a")
check_null_na(var)
# }

Run the code above in your browser using DataLab