cbindRobust {DatastreamDSWS2R} | R Documentation |
Function to combine time series that fixes the NA problem
Description
When combining two xts time series in which one series is an empty NA series and the other is a character series, then the normal cbind function will return a time series with the correct number of rows and columns but with every cell occupied with NA. This function overcomes this problem by allowing us to combine an empty series and a character series.
Usage
cbindRobust(xts1, xts2)
Arguments
xts1 |
First time series to combine |
xts2 |
Second time series to combine |
[Package DatastreamDSWS2R version 1.9.7 Index]