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.

