Description Usage Arguments Value Examples
handles the edge case: if BOTH have no coredata (then merge.xts produces ONE no-data no-index xts object) then instead, preserve the indexes
1 | combineXts(xTs = NULL, xTs1 = NULL)
|
xTs |
xts object |
xTs1 |
xts object to merge into xTs |
xts object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# > combineXts( initXts(NULL),xts(,zoo::as.Date(0)) )
# Data:
# numeric(0)
#
# Index:
# Date[1:1], format: "1970-01-01"
# > combineXts( xts(,zoo::as.Date(1)), xts(,zoo::as.Date(0)) )
# Data:
# numeric(0)
#
# Index:
# Date[1:2], format: "1970-01-01" "1970-01-02"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.