Learn R Programming

naniar (version 0.0.4.9000)

label_missing_2d: label_missing_2d

Description

Label whether a value is missing in either row of two columns. This is a more appealing alternative to miss_cat, which seems a bit overcomplicated.

Usage

label_missing_2d(x1, x2)

Arguments

x1

a variable of a dataframe

x2

another variable of a dataframe

Value

a vector indicating whether any of these rows had missing values

Examples

Run this code
# NOT RUN {
label_missing_2d(airquality$Ozone, airquality$Solar.R)

# }

Run the code above in your browser using DataLab