View source: R/xts_helperFunctions.R
getArrayThresholdExceedance | R Documentation |
Get values at the input exceedance levels for the entire array by date
getArrayThresholdExceedance(rdfXTS, valueIn, comparison)
rdfXTS |
XTS object returned by |
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 |
an XTS object with the frequency in which the array of traces exceed a threshold
pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
peLT3575 <- RWDataPlyr:::getArrayThresholdExceedance(pe, 3575, 'LT')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.