promptMethods            package:methods            R Documentation

_G_e_n_e_r_a_t_e _a _S_h_e_l_l _f_o_r _D_o_c_u_m_e_n_t_a_t_i_o_n _o_f _F_o_r_m_a_l _M_e_t_h_o_d_s

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

     Generates a shell of documentation for the methods of a generic
     function.

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

     promptMethods(f, filename, addTo = FALSE, inherited=FALSE, type = "methods")

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

       f: The name of the generic function whose methods are to be
          documented.

filename: Optional file on which to write the documentation shell. If
          `FALSE', the text is returned, presumably to be used in the
          documentation of the generic function itself (see `prompt'). 
          By default, this is the same as the coded topic name for
          these methods (currently `"NAME-methods.Rd"', where `NAME' is
          the function name, argument `f'). 

   addTo: Optionally, text to add to the shell.  This would typically
          be part of the contents of the documentation file for the
          generic function, if you want the generic and the methods
          documented together. 

inherited: Should inherited methods be included?  Default `FALSE'. 

    type: The documentation type to be declared in the output file.

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

     If `filename' is `FALSE', the text generated; otherwise, the name
     of the file written.

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

     John Chambers

_R_e_f_e_r_e_n_c_e_s:

     The web page <URL: http://www.omegahat.org/RSMethods/index.html>
     is the primary documentation.

     The functions in this package emulate the facility for classes and
     methods described in Programming with Data (John M. Chambers,
     Springer, 1998).  See this book for further details and examples.

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

     `prompt' and `promptClass'

