diffLog                 package:dse1                 R Documentation

_C_a_l_c_u_l_a_t_e _t_h_e _d_i_f_f_e_r_e_n_c_e _o_f _l_o_g _d_a_t_a

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

     Calculate the difference from lag periods prior for log of data.

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

         diffLog(x, lag=1, base = exp(1), ...)

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

       x: A time series.

     lag: The difference is calculated relative to lag periods prior.

    base: Base to use when calculating logrithms.

     ...: (further arguments, currently disregarded).

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

     A time series of the difference relative to lag periods prior for
     the log of  the data. lag data points are lost from the beginning
     of the series. Negative values will result in NAs.

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

     if(is.R()) data("eg1.DSE.data", package="dse1")
     z <- diffLog(outputData(eg1.DSE.data))

