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'.