View source: R/QC_completeness.R
| row_completeness | R Documentation |
Calculates the completeness of each row/observation in a data frame.
row_completeness(data, id_var)
data |
Data frame. |
id_var |
Row identifier variable. |
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.
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)
row_completeness(example_data, patient_id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.