UniNormParameter-class         package:distr         R Documentation

_C_l_a_s_s "_U_n_i_N_o_r_m_P_a_r_a_m_e_t_e_r"

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

     The parameter of a univariate normal distribution, used by
     Norm-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("NormParameter",
     sd, mean)'. Usually an object of this class is not needed on its
     own, it is generated automatically when an object of the class
     Norm is instantiated.

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

     '_s_d': Object of class '"numeric"': the sd of a univariate normal
          distribution

     '_m_e_a_n': Object of class '"numeric"': the mean of a univariate
          normal distribution

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

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

     Class '"NormParameter"', directly. Class '"Parameter"', by class
     '"NormParameter"'.

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

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

     _m_e_a_n 'signature(object = "UniNormParameter")': returns the slot
          mean of the parameter of the distribution

     _m_e_a_n<- 'signature(object = "UniNormParameter")': modifies the slot
          mean of the parameter of the distribution

     _s_d 'signature(object = "UniNormParameter")': returns the slot sd
          of the parameter of the distribution

     _s_d<- 'signature(object = "UniNormParameter")': modifies the slot
          sd of the parameter of the 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:

     'Norm-class' 'NormParameter-class' 'Parameter-class'

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

     W <- new("UniNormParameter", mean = 0, sd = 1)
     sd(W) # sd of this distribution is 1
     sd(W) <- 2 # sd of this distribution is now 2

