# select variables starting with a particular string.
impute_below_at(airquality,
.vars = c("Ozone", "Solar.R"))
impute_below_at(airquality, .vars = 1:2)
if (FALSE) {
library(dplyr)
impute_below_at(airquality,
.vars = vars(Ozone))
library(ggplot2)
airquality %>%
bind_shadow() %>%
impute_below_at(vars(Ozone, Solar.R)) %>%
add_label_shadow() %>%
ggplot(aes(x = Ozone,
y = Solar.R,
colour = any_missing)) +
geom_point()
}
Run the code above in your browser using DataLab