Learn R Programming

bioRad (version 0.5.1)

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

Description

Identify cells with NaN in a data frame. Improve on the default is.nan() function, which only works on vectors, by allowing data frames as input.

Usage

# S3 method for 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'.