is_void: is_void

Description Usage Arguments Value Examples

Description

Systematically testing for variable "emptiness" in R is a bit of a pain. This is a shortcut function that tests if a variable x is NULL or NA. If x is a vector, is_void does not test the elements of the vector, but returns FALSE because a vector is an object that is neither NULL nor NA.

Usage

1

Arguments

x

a variable

Value

boolean

Examples

1
2
3
4

daviddoret/GRCRToolkit documentation built on May 23, 2019, 7:31 a.m.