Closed milanwiedemann closed 5 years ago
graham: use sg_crit1_cutoff
, sg_crit2_pct
, and sg_crit3
with TRUE and FALSE for 3rd crit, or "adjusted", NULL ...
done, testing now. for sg_crit1_cutoff
and sg_crit2_pct
= NULL
will unselect it for sg_crit3
use FALSE
, return NAs in the details dataframe and exclude it from multiplying when calculating the final sg variables.
this is already possible for the first
sg_crit1_cutoff = 0
and second criterionsg_crit2_cutoff = 0
but not for the third criterion. in code this could look like this:sg_crit3_cutoff = NULL
. to unify the codeNULL
could also be added to thesg_crit2_cutoff
andsg_crit2_cutoff
arguments.