label_missings | R Documentation |
Creates a character vector describing presence/absence of missing values
label_missings(data, ..., missing = "Missing", complete = "Not Missing")
data |
a dataframe or set of vectors of the same length |
... |
extra variable to label |
missing |
character a label for when values are missing - defaults to "Missing" |
complete |
character character a label for when values are complete - defaults to "Not Missing" |
character vector of "Missing" and "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()
label_missings(airquality)
## Not run:
library(dplyr)
airquality %>%
mutate(is_missing = label_missings(airquality)) %>%
head()
airquality %>%
mutate(is_missing = label_missings(airquality,
missing = "definitely missing",
complete = "absolutely complete")) %>%
head()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.