

warping(haerdle)                             R Documentation

_s_m_o_o_t_h_e_d _h_i_s_t_o_g_r_a_m _b_y _W_A_R_P_i_n_g

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

     smoothed histogram by WARPing

_U_s_a_g_e_:

     warping(x, h, M, kernel)

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

       x: vector of points

       h: bin width

       M: number of small bins

  kernel: code  for kernel.  1 = uniform, 2 = triangle
          (ASH), 3 = Epanchenikov, 4 = quartic, 5 = tri-
          weight, 6 = Gaussian

_V_a_l_u_e_:

     matrix with two columns as the bin midpoints and
     heights.

_R_e_f_e_r_e_n_c_e_s_:

     `Smoothing Techniques with Implementation in S', Wolf-
     gang Haerdle, Springer, 1991

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

     data(dat.mixed)
     # Figure 1.19 and p.40
     plot(warping(dat.mixed,1.2,10,1), type="l")

