Description Usage Arguments Value
View source: R/clean_functions.R
Identify cells with NaN
in a data frame. Improve on the defeault
is.nan()
function, which only works on vectors, by allowing
data frames as input.
1 2 | ## S3 method for class 'data.frame'
is.nan(x)
|
x |
A data frame to be tested. |
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.
NaN
means 'Not a Number'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.