CCDiff                package:BSagri                R Documentation

_C_o_n_t_r_a_s_t_s _o_f _p_a_r_a_m_e_t_e_r_s _s_i_m_u_l_a_t_e_d _i_n _B_U_G_S

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

     Calculate linear combinations of parameters simulated in BUGS.
     This is a test version for internal use!

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

     CCDiff(bugs, dat, cmat = NULL, 
     type = c("Dunnett", "Tukey", "Sequen", "Williams", "Changepoint"))

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

    bugs: an object of class 'bugs', containing N values of the joint
          posterior distribution of in an N-times-P matrix named
          'muvec' 

     dat: an object of 'R2Bugsdat1w' 

    cmat: a contrast matrix of dimensions M-times-P

    type: a single character string, which type of comparisons to
          perform, if 'cmat' is not given; this argument is ignored if
          'cmat' ist specified 

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

     Testversion, for internal use.

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

     An object of class "CCDiff", a list with elements

 chains : the N-times-M matrix of the transformed joint posterior
          distribution

   bugs : the bugs object, as input

    dat : the object of class "R2Bugsdat1w", as input

   cmat : the M-times-P contrast matrix

