splice
Splice two time series matrices
Description
Splice together (in time) two time series matrices. This function can also be used to overlay mat1 on mat2 (ie. mat1 takes precedence). The time windows do
not have to correspond.
Usage
Required Arguments
- mat1
-
A time series matrix.
- mat2
-
A time series matrix.
Value
Details
Splice together two time series matrices. The matrices should contain the
same number of time series variables and be arranged in the same order.
(i.e. - the first column of mat1 is spliced to the first column of mat2, etc.)
If data is provided in both mat1 and mat2 for a given period then mat1 takes
priority. The frequencies should be the same.
See Also