RWDataPlyr (version 0.6.2)

getTraceMin: Get the annual minimum for each trace

Description

Get the annual minimum for each trace

Usage

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)

Value

an XTS object with the selected slot annual minimum

Examples

Run this code
# NOT RUN {
pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
peWY <- RWDataPlyr:::getTraceMin(pe, 'WY')

# }

Run the code above in your browser using DataCamp Workspace