splice                package:tframe                R Documentation

_S_p_l_i_c_e _T_i_m_e _S_e_r_i_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Splice together (in time dimension) two time series objects. This
     function can also be  used to overlay obj1 on obj2 (obj1 takes
     precedence). The time windows do not have to correspond.

_U_s_a_g_e:

         splice(mat1,mat2, ...)
         splice(mat1,mat2)


_A_r_g_u_m_e_n_t_s:

    mat1: A time series object.

    mat2: A time series object.

_D_e_t_a_i_l_s:

     Splice together two time series objects. The mat1 and mat2 objects
     should contain the  same number of time series variables and be
     arranged in the same order. (e.g. - 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.

_V_a_l_u_e:

     A time series object

_S_e_e _A_l_s_o:

     `tfwindow', `trim.na', `tbind'

_E_x_a_m_p_l_e_s:

     splice(ts(matrix(rnorm(24),24,1), start=c(1980,1), frequency=4),
            ts(matrix(rnorm(6),  6,1), start=c(1986,1), frequency=4))

