Get a list of ggplot objects, each plot having one filter.

cb_plot_filters(cohort)

Arguments

cohort

A cohort object. (Required) See constructor function cb_create_cohort or cb_load_cohort

Value

A list of ggplot objects

Examples

if (FALSE) {
my_cohort <- cb_load_cohort(cohort_id = "5f9af3793dd2dc6091cd17cd")
plot_list <- cb_plot_filters(cohort = my_cohort)

plot_list[[1]]

library(ggpubr)
ggpubr::ggarrange(plotlist = plot_list)
}