lnn                 package:PROcess                 R Documentation

_E_s_t_i_m_a_t_e _S_i_g_n_a_l _a_n_d _V_a_r_i_a_t_i_o_n _o_f _a _S_p_e_c_t_r_u_m

_D_e_s_c_r_i_p_t_i_o_n:

     Estimate the signal and the variation of a spectrum.

_U_s_a_g_e:

     lnn(x, span = 21, sm.span = 11)

_A_r_g_u_m_e_n_t_s:

       x: a vector of real values.

    span: the window widith for estimation of local variation.

 sm.span: the window width for estimation of the signal of x.

_D_e_t_a_i_l_s:

     The signal of a spectrum is estimated by moving average and its
     local variation is estimated by moving `mad', possibly in a large
     window.

_V_a_l_u_e:

     A list with two components: 

  fitted: estimated signal,

   sigma: estimated local variation.

