is.nan.data.frame: Identify 'NaN' in a dataframe.

Description Usage Arguments Value

View source: R/clean_functions.R

Description

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.

Usage

1
2
## S3 method for class 'data.frame'
is.nan(x)

Arguments

x

A data frame to be tested.

Value

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'.


mdtrinh/vietnamdata documentation built on May 3, 2019, 11:49 p.m.