ts-methods               package:stats               R Documentation

_M_e_t_h_o_d_s _f_o_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:

     Methods for objects of class '"ts"', typically the result of 'ts'.

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

     ## S3 method for class 'ts':
     diff(x, lag = 1, differences = 1, ...)

     ## S3 method for class 'ts':
     na.omit(object, ...)

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

       x: an object of class '"ts"' containing the values to be
          differenced.

     lag: an integer indicating which lag to use.

differences: an integer indicating the order of the difference.

  object: a univariate or multivariate time series.

     ...: further arguments to be passed to or from methods.

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

     The 'na.omit' method omits initial and final segments with missing
     values in one or more of the series.  'Internal' missing values
     will lead to failure.

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

     For the 'na.omit' method, a time series without missing values.
     The class of 'object' will be preserved.

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

     'diff'; 'na.omit', 'na.fail', 'na.contiguous'.

