timeAboveThreshold: Time spent above a certain threshold.

View source: R/helpers.R

timeAboveThresholdR Documentation

Time spent above a certain threshold.

Description

Time spent above a certain threshold.

Usage

timeAboveThreshold(object, threshold = -1, ge = TRUE)

Arguments

object

A (univariate) zoo object.

threshold

The threshold.

ge

Logical. Should time include the threshold (greater or equal to threshold) or not (greater only)?


hfrick/trackeR documentation built on Feb. 3, 2024, 2:30 p.m.