lambda.reg.bayes           package:eiPack           R Documentation

_C_a_l_c_u_l_a_t_e _s_h_a_r_e_s _u_s_i_n_g _d_a_t_a _f_r_o_m _B_a_y_e_s_i_a_n _r_e_g_r_e_s_s_i_o_n _m_o_d_e_l

_D_e_s_c_r_i_p_t_i_o_n:

     Calculates the population share of row members in selected columns

_U_s_a_g_e:

     lambda.reg.bayes(object, columns, ret.mcmc = TRUE) 

_A_r_g_u_m_e_n_t_s:

  object: An R object of class 'eiRegBayes', the output from
          'ei.reg.bayes'

 columns: a character vector indicating which column marginals to be
          included in calculating the shares

ret.mcmc: If TRUE, posterior shares are returned as an 'mcmc' object.

_V_a_l_u_e:

     If 'ret.mcmc = TRUE', draws are returned as an 'mcmc' object with
     dimensions sample x C.  If 'ret.mcmc = FALSE', draws are returned
     as an array with dimensions R x C x samples array.

_A_u_t_h_o_r(_s):

     Ryan T. Moore <rtm@wustl.edu>

_S_e_e _A_l_s_o:

     'ei.reg.bayes'

