getTraceMonthVal: Get values that meet a month requirement

Description Usage Arguments Value Examples

View source: R/xts_helperFunctions.R

Description

Get values that meet a month requirement

Usage

1
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

1
2
3
4
5
## Not run: 
pe <- rdfSlotToXTS(keyRdf, 'Powell.Pool Elevation')
peJanFeb <- getTraceMonthVal(pe, c(1, 2))

## End(Not run)

rabutler/RWDataPlot documentation built on May 26, 2019, 8:51 p.m.