ash2                   package:ash                   R Documentation

_b_i_v_a_r_i_a_t_e _A_S_H

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

     Compute bivariate ASH estimate (product polynomial kernel)

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

     ash2(bins, m, kopt)

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

    bins: (input list) bin count matrix nc and interval matrix  ab from
          `bin2' 

       m: (input integer vector of length 2) x and y direction
          smoothing parameters. Default is 5 by 5.  

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

     Matrix of ASH estimates returned. Components x,y,z can be given to
     the contour function directly. Other input variables returned in
     list for record keeping.

_S_e_e _A_l_s_o:

     `bin2'

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

     # Continuing example from help(bin2)
     m <- c(5,5)
     f <- ash2(bins,m)
     image(f$x,f$y,f$z)
     contour(f$x,f$y,f$z,add=T)

