Learn R Programming

naniar (version 0.3.1)

is_shadow: Is this thing a shadow?

Description

Does this thing contain a shadow variable?

Usage

is_shadow(x)

Arguments

x

vector or data.frame

Value

logical - single value. TRUE if contains a variable with a column ending in "_NA"

Examples

Run this code
# NOT RUN {
df_shadow <- bind_shadow(airquality)

is_shadow(df_shadow)

# }

Run the code above in your browser using DataLab