mmlcrlike               package:mmlcr               R Documentation

_U_s_e_d _i_n_t_e_r_n_a_l_l_y _b_y _m_m_l_c_r _t_o _c_a_l_c_u_l_a_t_e _c_o_m_p_o_n_e_n_t _l_i_k_e_l_i_h_o_o_d_s.

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

     Find the likelihoods for each subject in an 'mmlcr' component
     object. Meant to be internally by the function 'mmlcr'

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

     mmlcrlike(object, weights, classnumber, final = FALSE)

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

  object: a component of an 'mmlcr' object 

 weights: weights for the observations in object 

classnumber: the class number for the likelihoods 

   final: see below 

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

     if final = FALSE, a vector of likelihoods corresponding to the
     weights. The weights are not used except for their row.names.

     if final = TRUE, the component is returned, with fitted and
     residual components added. The fitted and residual components will
     only be correct if mmlcrlike is called sequentially over the full
     set of  classnumbers, as is the case when mmlcrlike is called by
     'mmlcr'.

_W_a_r_n_i_n_g:

     the mmlcrlike.multinomlong method returns fitted and residual
     components that have no real meaning. It is included only for
     completeness.

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

     'mmlcr', 'mmlcrObject'

