Computes the number of participants that are excluded when applying the specified exclusion criterion.

count_filter(data, criterion)

Arguments

data

tbl. The data frame to be filtered

criterion

character. The exclusion criterion

Value

double. The number of excluded participants