Get the annual maximum for each trace
getTraceMax(rdfXTS, yearType)
XTS object returned by rdfSlotToXTS
rdfSlotToXTS
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 maximum
# NOT RUN { pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation') peWY <- RWDataPlyr:::getTraceMax(pe, 'WY') # }
Run the code above in your browser using DataLab