miss_var_which | R Documentation |
It can be helpful when writing other functions to just return the names
of the variables that contain missing values. miss_var_which
returns a
vector of variable names that contain missings. It will return NULL when
there are no missings.
miss_var_which(data)
data |
a data.frame |
character vector of variable names
miss_var_which(airquality)
miss_var_which(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.