Skip to contents

plot_groups() creates a barplot showing the count of observations in each group level.

Usage

plot_groups(dat)

Arguments

dat

a raw_data object, the output of read_data(), with group specified using the add_group() function.

Examples

path <- get_example_data("small_biocrates_example.xls")
dat <- read_data(path)
dat <- add_group(dat, "group")
plot_groups(dat)