choicevar              package:MCMCpack              R Documentation

_H_a_n_d_l_e _C_h_o_i_c_e-_S_p_e_c_i_f_i_c _C_o_v_a_r_i_a_t_e_s _i_n _M_u_l_t_i_n_o_m_i_a_l _C_h_o_i_c_e _M_o_d_e_l_s

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

     This function handles choice-specific covariates in multinomial
     choice models.   See the example for an example of useage.

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

     choicevar(var, varname, choicelevel)

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

     var: The is the name of the variable in the dataframe.

 varname: The name of the new variable to be created.

choicelevel: The level of 'y' that the variable corresponds to.

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

     The new variable used by the 'MCMCmnl()' function.

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

     'MCMCmnl'

