Description Usage Arguments Value Examples
View source: R/xts_helperFunctions.R
Get the average annual value for each trace
1 | getTraceAvg(rdfXTS, yearType)
|
rdfXTS |
XTS object returned by |
yearType |
String 'CY' or 'WY' denoting a Calendar Year (Jan-1 to Dec-31) or Water Year (Oct-1 to Sep-30) |
an XTS object with the selected slot annual average
1 2 | pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
peWY <- RWDataPlyr:::getTraceAvg(pe, 'WY')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.