Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CSIndicators CSIndicators
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • CSIndicatorsCSIndicators
  • Issues
  • #20
Closed
Open
Issue created Sep 13, 2022 by Nuria Pérez-Zanón@nperezMaintainer

Exceeding Threshold functions to allow between thresholds or equal threshold options

Hi @aho and @erifarov ,

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

FYI @rmarcos @mlotto @allabres

Edited Sep 13, 2022 by Nuria Pérez-Zanón
Assignee
Assign to
Time tracking