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

View source: R/rdf_helperFunctions.R

rdfSlotToXTSR Documentation

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

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


BoulderCodeHub/RWDataPlyr documentation built on May 8, 2023, 3:55 a.m.