Learn R Programming

RWDataPlyr (version 0.6.5)

getArrayThresholdExceedance: 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)

Value

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

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

Examples

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

Run the code above in your browser using DataLab