find_na | R Documentation |
Find the variable that contains the missing value in the object that inherits the data.frame or data.frame.
find_na(.data, index = TRUE, rate = FALSE)
.data |
a data.frame or a |
index |
logical. When representing the information of a variable including missing values, specify whether or not the variable is represented by an index. Returns an index if TRUE or a variable names if FALSE. |
rate |
logical. If TRUE, returns the percentage of missing values in the individual variable. |
Information on variables including missing values.
imputate_na
, find_outliers
.
find_na(jobchange)
find_na(jobchange, index = FALSE)
find_na(jobchange, rate = TRUE)
## using dplyr -------------------------------------
library(dplyr)
# Perform simple data quality diagnosis of variables with missing values.
jobchange %>%
select(find_na(.)) %>%
diagnose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.