| collapse_na | R Documentation |
Collapse data frames with _NA variables to coerce related variables to include NA
collapse_na(data)
data |
A data frame with columns ending in _NA |
A data frame with no _NA columns and NA values
example_na_expanded <- expand_na(data = example_na)
collapse_na(data = example_na_expanded)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.