apply_attrition: Apply list of inclusion/exclusion criteria to a patient-level dataframe
Description
Apply list of inclusion/exclusion criteria to a patient-level dataframe
Usage
apply_attrition(data, criteria_conditions)
Value
Filtered data frame
Arguments
data
data.frame. Data set to be filtered
criteria_conditions
character dplyr-filter compatible conditions
of the filtering criteria. These conditions will be applied to filter the input
data set and obtain final analysis data set