Filter dataset based on slope selections and exclusions
Source:R/utils-slope_selector.R
filter_slopes.Rd
This function filters main dataset based on provided slope selections an exclusions.
Arguments
- data
Data to filter. Must be
PKNCAdata
list, containing theconc
element withPKNCAconc
list and appropriate data frame included under data.- slopes
Data frame with slopes selection rules, must contain the following columns:
TYPE
,PATIENT
,PROFILE
,RANGE
,REASON
.- profiles
List with available profiles for each
PATIENT
.- slope_groups
List with column names that define the groups.