Learn R Programming

naniar (version 0.6.1)

test_if_missing: Test if the input is Missing

Description

Test if the input is Missing

Usage

test_if_missing(x)

Value

an error if input (x) is not specified

Arguments

x

object

Examples

Run this code
if (FALSE) {
# success
my_test <- x
test_if_null(my_test)
#fail
test_if_missing()
}

Run the code above in your browser using DataLab