count_filter_results: Number of excluded participants per exclusion criterion

Description Usage Arguments Value

View source: R/text.R

Description

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

Usage

1
2
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.


idea-labs/comsldpsy documentation built on April 14, 2020, 4:28 p.m.