Skip to contents

This function calculates the number of variables that contain a complete value

Usage

n_var_complete(data)

n_case_complete(data)

Arguments

data

data.frame

Value

integer number of complete values

See also

Examples


# how many variables contain complete values?
n_var_complete(airquality)
#> [1] 4
n_case_complete(airquality)
#> [1] 111