itsLags                 package:its                 R Documentation

_L_a_g _F_u_n_c_t_i_o_n_s _f_o_r _I_r_r_e_g_u_l_a_r _T_i_m_e-_S_e_r_i_e_s _O_b_j_e_c_t_s

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

     Lag functions for objects of class '"its"'.

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

     lagIts(x,k=1)
     lagdistIts(x,kmin,kmax)

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

       x: an object of class '"its"'

k, kmin, kmax: integer lag; positive value mean earlier data is
          assigned to a later timestamp

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

     'lagIts' returns an object with the same time-stamps, but with the
     data shifted. 'lagdistIts' applies lagIts over a range of lags,
     and appends these columns

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

     An object of class '"its"'.

_A_u_t_h_o_r(_s):

     Giles Heywood

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

     'ts', 'POSIXct', 'itsFile', 'itsLags' 'itsJoin' 'itsTimes'
     'itsSubset' 'itsFin' 'itsDisp' 'itsInfo' 'itsCumdif' 'itsArith'

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

     b <- newIts(1:10)
     lagIts(b)
     lagdistIts(b[,1],1,3)

