Learn R Programming

RWDataPlyr (version 0.6.5)

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)

Value

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

Arguments

rdfXTS

Object returned by rdfSlotToXTS

pctlLevels

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

Examples

Run this code
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 DataLab