get_n_perc_filter: Compute number and percentage

Description Usage Arguments Value

View source: R/utils.R

Description

Computes the number and percentage of cases that fulfil a certain filter condition

Usage

1

Arguments

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

Value

numeric vector c(number, percent). The number and percentage of cases fulfilling the filter condition(s)


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