napply                package:cwhtool                R Documentation

_A_p_p_l_y _a _f_u_n_c_t_i_o_n _t_o _t_h_e _c_o_r_r_e_s_p_o_n_d_i_n_g _e_l_e_m_e_n_t_s _o_f _t_w_o _l_i_s_t_s (?)

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

     lapply extended for two lists ??

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

      napply(...,FUN)

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

     ...: list of vectors ??

     FUN: function to be used

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

     list of values

_A_u_t_h_o_r(_s):

     Peter Dalgaard, p.dalgaard@biostat.ku.dk

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

     l1 <- 2
     l2 <- 4
     napply(l1,l2,FUN=union)

