plot_completeness {eHDPrep}R Documentation

Plot Completeness of a Dataset

Description

Generates a bar plot of percentage completeness for one or both data frame dimensions (rows/columns).

Usage

plot_completeness(data, id_var, plot = c("variables", "rows"))

Arguments

data

Data frame in tidy format (see https://tidyr.tidyverse.org/).

id_var

Row identifier variable name.

plot

Character vector containing one or both of variables and rows.

Value

Completeness bar plot.

See Also

Other measures of completeness: assess_completeness(), compare_completeness(), completeness_heatmap(), row_completeness(), variable_completeness()

Examples

data(example_data)
plot_completeness(example_data, patient_id, "variables")

[Package eHDPrep version 1.3.3 Index]