maDotsMatch              package:marray              R Documentation

_R_e_p_l_a_c_e _d_e_f_a_u_l_t _a_r_g_u_m_e_n_t_s _o_f _a _f_u_n_c_t_i_o_n _b_y _u_s_e_r _s_u_p_p_l_i_e_d _v_a_l_u_e_s

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

     This function may be used to replace default arguements for any
     functions to user supplied parameters.

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

     maDotsMatch(dots, defaults)

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

    dots: List of user supplied argements, e.g. from 'list(...)'.

defaults: List of  formal arguments of a function, e.g. from the
          function 'formals'.

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

    args: List of argument of a function.

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

     Jean Yee Hwa Yang

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

     'maDefaultPar', 'maDotsDefaults'

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

     dots<-list(x=1:10, y=11:20)
     argsfun <- maDotsMatch(dots, formals(args(plot)))
     do.call("plot", argsfun)

