Is there a single function in R that determines if a value is NA, NaN, Inf, -Inf, or otherwise not a well-formed number?
NA
NaN
Inf
-Inf