RWDataPlyr (version 0.6.2)

getTraceMonthVal: Get values that meet a month requirement

Description

Get values that meet a month requirement

Usage

getTraceMonthVal(rdfXTS, month)

Arguments

rdfXTS

XTS object returned by rdfSlotToXTS

month

Integer month(s) as a single value or a vector with 1<=month<=12

Value

an XTS object with the selected slot data

Examples

Run this code
# NOT RUN {
pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
peJanFeb <- RWDataPlyr:::getTraceMonthVal(pe, c(1, 2))

# }

Run the code above in your browser using DataCamp Workspace