naniar (version 0.4.2)

as_shadow.data.frame: Create shadow data

Description

Return a tibble in shadow matrix form, where the variables are the same but have a suffix _NA attached to distinguish them.

Usage

# S3 method for data.frame
as_shadow(data, ...)

Arguments

data

dataframe

...

selected variables to use

Examples

Run this code
# NOT RUN {
as_shadow(airquality)

# }

Run the code above in your browser using DataLab