powered by
NULL
NA
A simple helper function that replaces NA object by NULL object.
h_null_if_na(x)
NULL if x is NA, otherwise, x.
x
(any) atomic object of length 1. For the definition of "atomic", see is.atomic().
any
1
is.atomic()
h_null_if_na(NA)
Run the code above in your browser using DataLab