as.xts.TimeSeries {MacrobondAPI} | R Documentation |
Create an xts object from a Macrobond timeseries.
## S3 method for class 'TimeSeries' as.xts(x, ...)
x |
An object of type |
... |
Additional arguments passed to |
An xts object from the xts package.
MakeXtsFromUnifiedResponse
,
TimeSeries
,
xts
seriesGdp <- FetchOneTimeSeries("usgdp") seriesGdp.xts <- as.xts(seriesGdp)