getTraceMin function

Get the annual minimum for each trace

Get the annual minimum for each trace

getTraceMin(rdfXTS, yearType)

Arguments

  • rdfXTS: XTS object returned by rdfSlotToXTS
  • yearType: String 'CY' or 'WY' denoting a Calendar Year (Jan-1 to Dec-31) or Water Year (Oct-1 to Sep-30)

Returns

an XTS object with the selected slot annual minimum

Examples

pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation') peWY <- RWDataPlyr:::getTraceMin(pe, 'WY')

Other functions in RWDataPlyr

Related functions from the same R package