getArrayThresholdExceedance: Get values at the input exceedance levels for the entire...

View source: R/xts_helperFunctions.R

getArrayThresholdExceedanceR Documentation

Get values at the input exceedance levels for the entire array by date

Description

Get values at the input exceedance levels for the entire array by date

Usage

getArrayThresholdExceedance(rdfXTS, valueIn, comparison)

Arguments

rdfXTS

XTS object returned by rdfSlotToXTS

valueIn

Numeric value for the desired threshold to compare the data against

comparison

String 'GT' or 'LT' for a greater-than or less-than comparison

Value

an XTS object with the frequency in which the array of traces exceed a threshold

Examples

pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
peLT3575 <- RWDataPlyr:::getArrayThresholdExceedance(pe, 3575, 'LT')


BoulderCodeHub/RWDataPlyr documentation built on May 8, 2023, 3:55 a.m.