Skip to contents

Plotting coverage (NAs) of data tables.

Usage

plot_cov(data, group_var = NULL, exclude_vars = NULL, exclude_na_group = FALSE)

Arguments

data

Input data.frame.

group_var

character indicating categorical variable that is used to group the data before plotting.

exclude_vars

character indicating which variable(s) should be excluded from the data before plotting.

exclude_na_group

character indicating whether to include or exclude potential NAs in the grouping variable. Default is FALSE.

Value

A ggplot object.