Pull out Results by Variable
pull_results(df, var)
df | A dataframe containing an outcome variable (character) and a missing_table variable. |
---|---|
var | A character string identifying which variable to pull results for. |
A dataframe of results
## 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>