

ash2(ash)                                    R Documentation

_C_o_m_p_u_t_e _b_i_v_a_r_i_a_t_e _A_S_H _e_s_t_i_m_a_t_e _(_p_r_o_d_u_c_t _p_o_l_y_n_o_m_i_a_l _k_e_r_n_e_l_)

_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 direc-
          tion 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)

     # 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)

