powered by
Add missing values where values should be missing according to _NA variables
enforce_na(data)
A synthetic data frame with _NA columns that converts values that are labelled missing in an _NA variable to missing in the corresponding variable
A synthetic data frame with _NA columns
example_na_expanded <- expand_na(data = example_na) enforce_na(data = example_na_expanded)
Run the code above in your browser using DataLab