Learn R Programming

naniar (version 0.3.1)

miss_var_table: Tabulate the missings in the variables

Description

Provide a tidy table of the number of variables with 0, 1, 2, up to n, missing values and the proportion of the number of variables those variables make up.

Usage

miss_var_table(data)

Arguments

data

a dataframe

Value

a dataframe

See Also

miss_case_pct miss_case_prop miss_prop_summary() miss_case_summary miss_case_table miss_summary miss_var_pct miss_var_prop miss_var_run miss_var_span miss_var_summary miss_var_table

Examples

Run this code
# NOT RUN {
miss_var_table(airquality)

library(dplyr)
airquality %>%
  group_by(Month) %>%
  miss_var_table()

# }

Run the code above in your browser using DataLab