Learn R Programming

naniar (version 1.0.0)

miss_var_cumsum: Cumulative sum of the number of missings in each variable

Description

Calculate the cumulative sum of number & percentage of missingness for each variable.

Usage

miss_var_cumsum(data)

Value

a tibble of the cumulative sum of missing data in each variable

Arguments

data

a data.frame

See Also

pct_miss_case() prop_miss_case() pct_miss_var() prop_miss_var() pct_complete_case() prop_complete_case() pct_complete_var() prop_complete_var() miss_prop_summary() miss_case_summary() miss_case_table() miss_summary() miss_var_prop() miss_var_run() miss_var_span() miss_var_summary() miss_var_table()

Examples

Run this code

miss_var_cumsum(airquality)
if (FALSE) {
library(dplyr)

# respects dplyr::group_by

airquality %>%
  group_by(Month) %>%
  miss_var_cumsum()
}

Run the code above in your browser using DataLab