row_completeness {eHDPrep} R Documentation

Calculate Row Completeness in a Data Frame

Description

Calculates the completeness of each row/observation in a data frame.

Usage

row_completeness(data, id_var)


Arguments

 data Data frame. id_var Row identifier variable.

Details

Row completeness is measured by comparing the number of NA to non-NA values. Returns the count of NA as well as the percentage of NA values and the percentage completeness.

Value

Tibble detailing completeness statistics for each row in input data.

Other measures of completeness: assess_completeness(), compare_completeness(), completeness_heatmap(), plot_completeness(), variable_completeness()
data(example_data)