standardMethods            package:distr            R Documentation

_s_t_a_n_d_a_r_d_M_e_t_h_o_d_s

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

     Creates definitions for accessor and replacement functions of an
     given class.

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

     standardMethods(class, writetofile = FALSE, directory)

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

   class: the class for which accessor and replacement functions are to
          be produced, given as a string

writetofile: logical value, indicating wheter output is to be written
          to a file

directory: if writetofile = TRUE, the output is written to a file in
          the given directory, the name of the file starting with
          "classname " and ending with "StandardMethods.txt"

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

     no value is returned

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

     Thomas Stabla Thomas.Stabla@uni-bayreuth.de

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

     setClass("testclass", representation(a = "numeric", b = "character"))
     standardMethods("testclass")
     #directory = "C:/Dokumente und Einstellungen/X/Eigene Dateien/Studium/R/SWP/"
     #standardMethods("testclass", writetofile = TRUE, directory = directory)

