Skip to contents

Return missing data info about the dataframe, the variables, and the cases. Specifically, returning how many elements in a dataframe contain a missing value, how many elements in a variable contain a missing value, and how many elements in a case contain a missing.

Usage

miss_prop_summary(data)

Arguments

data

a dataframe

Value

a dataframe

Examples


miss_prop_summary(airquality)
#> # A tibble: 1 × 3
#>       df   var  case
#>    <dbl> <dbl> <dbl>
#> 1 0.0479 0.333 0.275
if (FALSE) {
library(dplyr)
# respects dplyr::group_by
airquality %>% group_by(Month) %>% miss_prop_summary()
}