R/null2na.R
null2na.Rd
Convert NULL values to NA
null2na(x)
A value
The value
This is an internal function used to convert NULL values to NA. This is useful in if() statements when checking the value of an object which may possibly not exist.
This function is *not* vectorized.