ParamFamParameter          package:ROptEst          R Documentation

_G_e_n_e_r_a_t_i_n_g _f_u_n_c_t_i_o_n _f_o_r _P_a_r_a_m_F_a_m_P_a_r_a_m_e_t_e_r-_c_l_a_s_s

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

     Generates an object of class '"ParamFamParameter"'.

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

     ParamFamParameter(name, main = numeric(0), nuisance, trafo)

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

    name: character string: name of parameter 

    main: numeric vector: main parameter 

nuisance: numeric vector: nuisance paramter 

   trafo: matrix: transformation of the parameter 

_D_e_t_a_i_l_s:

     If 'name' is missing, the default  ""parameter of a parametric
     family of probability measures"" is used. If 'nuisance' is
     missing, the nuisance parameter is  set to 'NULL'. The number of
     columns of 'trafo' have to be equal and the number of rows have to
     be not larger than  the sum of the lengths of 'main' and
     'nuisance'.  If 'trafo' is missing, no transformation to the
     parameter is applied; i.e., 'trafo' is set to an identity matrix.

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

     Object of class '"ParamFamParameter"'

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

     Matthias Kohl Matthias.Kohl@stamats.de

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

     'ParamFamParameter-class'

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

     ParamFamParameter(main = 0, nuisance = 1, trafo = diag(c(1,2)))

     ## The function is currently defined as
     function(name, main = numeric(0), nuisance, trafo){
         if(missing(name))
             name <- "parameter of a parametric family of probability measures"
         if(missing(nuisance))
             nuisance <- NULL
         if(missing(trafo))
             trafo <- diag(length(main)+length(nuisance))

         return(new("ParamFamParameter", name = name, main = main, 
                    nuisance = nuisance, trafo = trafo))
     }

