powered by
Internal function to appropriately expand and relevel all shadow variables to include a new suffix
update_shadow(data, suffix)
data.frame with adjusted levels
data.frame
character vector
if (FALSE) { df <- tibble::tribble( ~wind, ~temp, -99, 45, 68, NA, 72, 25 ) dfs <- bind_shadow(df) # update_shadow(dfs, "weee") # update_shadow(dfs, "weee") %>% what_levels() }
Run the code above in your browser using DataLab