itsInterp                package:its                R Documentation

_I_n_t_e_r_p_o_l_a_t_i_o_n _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:

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

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

     locf(x)

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

       x: an object of class '"its"' or NULL

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

     'locf' 'Last Observation Carry Forward'. NAs are replaced by the
     last preceding  valid observation within the series.

_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:

     x <- newIts(11:40,ncol=3)
     x[1:2,1] <- NA
     x[3:4,2] <- NA
     x[9:10,3] <- NA
     print(x)
     print(locf(x))

