powered by
Add a column describing if there are any missings in the dataset
add_label_missings(data, ..., missing = "Missing", complete = "Not Missing")
data.frame with a column "any_missing" that is either "Not Missing" or "Missing" for the purposes of plotting / exploration / nice print methods
data.frame
extra variable to label
character a label for when values are missing - defaults to "Missing"
character character a label for when values are complete - defaults to "Not Missing"
bind_shadow() add_any_miss() add_label_missings() add_label_shadow() add_miss_cluster() add_n_miss() add_prop_miss() add_shadow_shift() cast_shadow()
bind_shadow()
add_any_miss()
add_label_missings()
add_label_shadow()
add_miss_cluster()
add_n_miss()
add_prop_miss()
add_shadow_shift()
cast_shadow()
airquality %>% add_label_missings() airquality %>% add_label_missings(Ozone, Solar.R) airquality %>% add_label_missings(Ozone, Solar.R, missing = "yes", complete = "no")
Run the code above in your browser using DataLab