GammaParameter-class          package:distr          R Documentation

_C_l_a_s_s "_G_a_m_m_a_P_a_r_a_m_e_t_e_r"

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

     The parameter of a gamma distribution, used by 'Gammad'-class

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("GammaParameter",
     shape, scale)'. Usually an object of this class is not needed on
     its own, it is generated automatically when an object of the class
     'Gammad' is instantiated.

_S_l_o_t_s:

     '_s_h_a_p_e': Object of class '"numeric"': the shape of a Gamma
          distribution 

     '_s_c_a_l_e': Object of class '"numeric"': the scale of a Gamma
          distribution 

     '_n_a_m_e': Object of class '"character"': a name / comment for the
          parameters 

_E_x_t_e_n_d_s:

     Class '"Parameter"', directly.

_M_e_t_h_o_d_s:

     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "GammaParameter")': initialize
          method 

     _s_c_a_l_e 'signature(object = "GammaParameter")': returns the slot
          'scale' of a parameter of a Gamma distribution 

     _s_c_a_l_e<- 'signature(object = "GammaParameter")': modifies the slot
          'scale' of a parameter of a Gamma distribution 

     _s_h_a_p_e 'signature(object = "GammaParameter")': returns the slot
          'shape' of a parameter of a Gamma distribution 

     _s_h_a_p_e<- 'signature(object = "GammaParameter")': modifies the slot
          'shape' of a parameter of a Gamma distribution 

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

     Thomas Stabla Thomas.Stabla@uni-bayreuth.de,
      Florian Camphausen Florian.Camphausen@uni-bayreuth.de,
      Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
      Matthias Kohl Matthias.Kohl@uni-bayreuth.de

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

     'Gammad-class' 'Parameter-class'

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

     W=new("GammaParameter",scale=1,shape=1)
     shape(W) # shape of this distribution is 1.
     shape(W)=2 # shape of this distribution is now 2.

