Pull out Results by Variable

pull_results(df, var)

Arguments

df

A dataframe containing an outcome variable (character) and a missing_table variable.

var

A character string identifying which variable to pull results for.

Value

A dataframe of results

Examples

## Code pull_results
#> function (df, var) #> { #> outcome <- NULL #> missing_table <- NULL #> df %>% dplyr::filter(outcome %in% var) %>% dplyr::pull(missing_table) %>% #> dplyr::first() #> } #> <bytecode: 0x55630ce73b08> #> <environment: namespace:ETSMissing>