RWDataPlyr (version 0.6.2)

rdfSlotToXTS: Get one slot out of an rdf list and put it in an XTS object

Description

rdfSlotToXTS Takes a list created by read.rdf and convert the nested slot values over the multiple traces into an XTS array indexing over traces.

Usage

rdfSlotToXTS(rdf, slot)

Arguments

rdf

list returned by read.rdf

slot

string of slot name that exists in rdf that will be converted to a matrix

Value

an XTS object with the selected slot data

Examples

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

# }

Run the code above in your browser using DataLab