Prints the number and percent of NAs in a dataframe
Usage
na_tab(data, missing.code = c(NA, ""), separately = F, viewer = T)Arguments
- data
Data.frame
- missing.code
List of values that should be considered missing.
- separately
If `TRUE`, reports missing values separately for each value in `missing` argument. If `FALSE`, reports total number of missing values. Only makes sense if `missing` is longer than 1.
- viewer
If `TRUE“, show in Rstudio viewer, if FALSE returns a data.frame
