rdfSlotToXTS function

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

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

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.

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

Returns

an XTS object with the selected slot data

Examples

pe <- RWDataPlyr:::rdfSlotToXTS(keyRdf, 'Mead.Pool Elevation')

Other functions in RWDataPlyr

Related functions from the same R package