naniar (version 0.4.2)

which_na: Which elements contain missings?

Description

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

Usage

which_na(x)

Arguments

x

a dataframe

Value

integer locations of missing values.

See Also

where_na()

Examples

Run this code
# NOT RUN {
which_na(airquality)

# }

Run the code above in your browser using DataLab