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

View source: R/utils.R

is.nan.data.frameR Documentation

Identify NaN in a dataframe

Description

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.

Usage

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

Arguments

x

A data.frame object.

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.


adokter/birdRad documentation built on Feb. 1, 2024, 3:40 p.m.