Learn R Programming

naniar (version 0.0.3.9901)

is_na: Give NAs a more meaningful label

Description

Returns a binary factor of !NA and NA, where !NA indicates a datum that is not missing, and NA indicats missingness.

Usage

is_na(x)

Arguments

x
a vector

Value

a vector

See Also

as_shadow

Examples

Run this code

is_na(airquality$Ozone)

Run the code above in your browser using DataLab