Calculate the proportion of variables that contain a single missing value.

miss_var_prop(data)

Arguments

data

a dataframe

Value

numeric the proportion of variables that contain missing data

See also

Examples

miss_var_prop(riskfactors)
#> [1] 0.7058824
miss_var_prop(oceanbuoys)
#> [1] 0.375