RWDataPlyr (version 0.6.2)

getArrayPctl: Get values at the input exceedance levels for the entire array by date

Description

Get values at the input exceedance levels for the entire array by date

Usage

getArrayPctl(rdfXTS, pctlLevels)

Arguments

rdfXTS

Object returned by rdfSlotToXTS

pctlLevels

Decimal value(s) for the desired exceedance levels with 0.0<value<1.0

Value

an XTS object with the selected slot data at the input exceedance levels

Examples

Run this code
# NOT RUN {
pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')
pe105090 <- RWDataPlyr:::getArrayPctl(pe, c(0.1, 0.5, 0.9))

# }

Run the code above in your browser using DataCamp Workspace