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

miss_case_prop(data)

complete_case_prop(data)

Arguments

data

a dataframe

Value

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

See also

Examples

miss_case_prop(airquality)
#> [1] 0.2745098
complete_case_prop(airquality)
#> [1] 0.7254902