NaN
in a dataframe.Identify cells with NaN
(not a number) in a data frame. Improves on the
defaultbase::is.nan()
function, which only works on vectors, by allowing
data frames as input.
# S3 method for data.frame
is.nan(x)
A data.frame
object.
A matrix of the same dimension as x
, with TRUE
/FALSE
values
for whether each cell in the original data frame is a number or not.