get_n_perc_filter.RdComputes the number and percentage of cases that fulfil a certain filter condition
get_n_perc_filter(data, filter, invert = FALSE)
| data | tbl. A data frame to be filtered |
|---|---|
| filter | character. Filter condition(s) |
| invert | logical. Should the the filter condition(s) be inverted, Default: FALSE |
numeric vector c(number, percent). The number and percentage of
cases fulfilling the filter condition(s)