listMethods              package:svMisc              R Documentation

_L_i_s_t _a_l_l _m_e_t_h_o_d_s _a_s_s_o_c_i_a_t_e_d _w_i_t_h _a _g_e_n_e_r_i_c _f_u_n_c_t_i_o_n

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

     List all S3 and/or S4 methods for a generic function.

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

     listMethods(f, S3 = TRUE, S4 = TRUE)

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

       f: The name of the generic function 

      S3: If TRUE, list of S3 methods 

      S4: If TRUE, list of S4 methods 

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

     A list with components: 

      S3: The S3 methods for this generic function, or 'character(0)'
          if none

      S4: The S4 methods for this generic function, or 'character(0)'
          if none

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

     Philippe Grosjean <phgrosjean@sciviews.org>

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

     'listCustoms'

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

             listMethods("t.test") # S3
             listMethods("show")     # S4
             listMethods("ls") # None, not a generic function!

