args                  package:base                  R Documentation

_A_r_g_u_m_e_n_t _L_i_s_t _o_f _a _F_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Displays the argument names and corresponding default values of a
     function or primitive.

_U_s_a_g_e:

     args(name)

_A_r_g_u_m_e_n_t_s:

    name: a function (a closure or a primitive). If 'name' is a
          character string then the function with that name is found
          and used.

_D_e_t_a_i_l_s:

     This function is mainly used interactively. For programming, use
     'formals' instead.

_V_a_l_u_e:

     A function with identical formal argument list but an empty body
     if given a closure.

     A function with the documented usage for a primitive: note that in
     almost all cases primitives do not make use of named arguments and
     match by position rather than name.  ('rep' and 'seq.int' are
     exceptions.)

     'NULL' in case of a non-function.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole.

_S_e_e _A_l_s_o:

     'formals', 'help'.

_E_x_a_m_p_l_e_s:

     args(c)
     args(graphics::plot.default)

