variable_completeness {eHDPrep} | R Documentation |
Calculate Variable Completeness in a Data Frame
Description
Calculates the completeness of each variable in a data frame.
Usage
variable_completeness(data)
Arguments
data |
Data frame. |
Details
This is achieved 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 variable.
See Also
Other measures of completeness:
assess_completeness()
,
compare_completeness()
,
completeness_heatmap()
,
plot_completeness()
,
row_completeness()
Examples
data(example_data)
variable_completeness(example_data)
[Package eHDPrep version 1.3.3 Index]