Skip to contents

Calculate the proportion of variables that contain a single missing or complete values.

Usage

prop_miss_var(data)

prop_complete_var(data)

Arguments

data

a dataframe

Value

numeric the proportion of variables that contain missing or complete data

Examples


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