Skip to contents

Filters a dataframe based on specified side effect columns and a grade threshold, retaining rows that meet the threshold criteria.

Usage

filter_grade_threshold(df, side_effect_cols, grade_threshold = 4)

Arguments

df

DataFrame containing the data to be filtered.

side_effect_cols

Character vector specifying the columns to check against the threshold.

Value

DataFrame filtered based on the grade threshold.