trackeR (version 1.5.2)

timeAboveThreshold: 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)?