This is cbind
for tis
objects. It binds several
ts
and tis
objects together into a single matrix time
indexed series.
# S3 method for tis
cbind(…, union = F)
any number of univariate or multivariate ts
or tis
objects. All will be converted to tis
objects by
as.tis
, and the result series all must have the same
tif
(time index frequency).
a logical. If union
= F, a matrix created by the
intersection of the time windows for the arguments will be created.
If union
= T, the union of the time windows will be used to
create the matrix.
a multivariate tis
object.
If union
is TRUE
and the series in … do not all
start and end on the same time index, the missing observations are
filled with NA
.
The column names of the returned series are determined as follows:
If an argument was given a name in the call, the corresponding column has that name. If the argument was itself a matrix with column names, those will be used, otherwise the argument's name is expanded with digits denoting its respective columns.