Learn R Programming

naniar (version 0.0.3.9901)

as_shadow: Create shadow data

Description

Return a tibble that in shadow matrix form, where the variables are the same but have a suffix _NA attached to indicate their difference.

Usage

as_shadow(data)

Arguments

data
a dataframe

Value

a dataframe with appended

Examples

Run this code

as_shadow(airquality)

Run the code above in your browser using DataLab