Skip to contents

Calculate the percentage of variables that contain a single missing or complete value.

Usage

pct_miss_var(data)

pct_complete_var(data)

Arguments

data

a dataframe

Value

numeric the percent of variables that contain missing or complete data

Examples


prop_miss_var(airquality)
#> [1] 0.3333333
prop_complete_var(airquality)
#> [1] 0.6666667