check_null_na: Function to check the variable null or NA

View source: R/help_model_functions.R

check_null_naR 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)

packDAMipd documentation built on May 29, 2024, 3:18 a.m.