Supported are atomic types (see is.atomic), lists and data frames.
is.atomic
anyNaN(x)
[ANY] Object to check.
ANY
[logical(1)] Returns TRUE if any element is NaN.
logical(1)
TRUE
NaN
# NOT RUN { anyNaN(1:10) anyNaN(c(1:10, NaN)) iris[3, 3] = NaN anyNaN(iris) # }
Run the code above in your browser using DataCamp Workspace