Exceeding Threshold functions to allow between thresholds or equal threshold options
After a discussion with @rmarcos, we realized that there is a need that functions working with thresholds can also work between and out of thresholds or equal to a threshold.
The functions that I have detected are
-
AccumulationExceedingThreshold -
TotalSpellTimeExceedingThreshold and -
TotalTimeExceedingThreshold
I guess an example of between thresholds could be:
CST_TotalTimeExceedingThreshold(data, op = c('>', '<'), thres = c(10, 20))
The list of new options for op argument is:
-
c('<', '>') -
c('<', '>=') -
c('<=', '>') -
c('<=', '>=') -
c('>', '<') -
c('>', '<=') -
c('>=', '<') -
c('>=', '<=') -
'='
Do you think it is possible to enhance this functions?
Thanks in advance,
Núria