50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


naniar (version 0.6.1)

which_na: Which elements contain missings?

Description

Equivalent to which(is.na()) - returns integer locations of missing values.

Usage

which_na(x)

Value

integer locations of missing values.

Arguments

x

a dataframe

See Also

where_na()

Examples

Run this code

which_na(airquality)

Run the code above in your browser using DataLab