Learn R Programming

naniar (version 0.6.0)

test_if_missing: Test if the input is Missing

Description

Test if the input is Missing

Usage

test_if_missing(x)

Arguments

x

object

Value

an error if input (x) is not specified

Examples

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

Run the code above in your browser using DataLab