Filter Flags based on Threshold and Metric
Arguments
- dfFlagged
data.frame in format produced by
Flag()
.- nAccrualThreshold
numeric
Specifies the minimum value required to return ascore
and calculate aflag
. Default: NULL- strAccrualMetric
character
Specifies the Metric to applynAccrualThreshold
to in order to determine the validity of a flag. Options are "Numerator", "Denominator" or "Difference". If "Difference" is specified, the threshold is based on the difference between the Denominator and the Numerator for a given Group. Default:NULL
.