Skip to contents

Calculate the proportion of cases (rows) that contain missing or complete values.

Usage

prop_miss_case(data)

prop_complete_case(data)

Arguments

data

a dataframe

Value

numeric the proportion of cases that contain a missing or complete value

Examples


prop_miss_case(airquality)
#> [1] 0.2745098
prop_complete_case(airquality)
#> [1] 0.7254902