cbindRobust | R Documentation |
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.
cbindRobust(xts1, xts2)
xts1 |
First time series to combine |
xts2 |
Second time series to combine |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.