flag_na | R Documentation |
This function uses dplyr::mutate()
to create a new na_flag
logical
variable with TRUE
values for any record missing any value in the
selected columns.
flag_na(data, ...)
data |
A data frame to flag. |
... |
Arguments passed to |
A data frame with a new na_flag
logical variable.
flag_na(dplyr::starwars, hair_color)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.