Computes the number of participants that are excluded for each exclusion criterion and totals for groups of exclusion criteria.

count_filter_results(data, filter_cond, output = c("full", "groups",
  "subgroups"))

Arguments

data

tbl. The data frame to be filtered

output

character. "full" returns full data frame; "groups" returns excluded participants per group of exclusion criteria; "subgroups" returns excluded participants per exclusion criterion.

df_filter_cond

tbl. A data frame with exclusion criteria

Value

tbl. A data frame listing the number of excluded participants per exclusion criterion.