depmix-internal            package:depmix            R Documentation

_D_e_p_m_i_x _u_t_i_l_i_t_y _f_u_n_c_t_i_o_n_s

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

     These functions are used internally by depmix functions. They
     should not be called directly unless you know what you're doing.

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

             
             checkSetRecode(dat,dmm,tdcov,printlevel=1)
             recode(dat,xm)
             fblo(x,i,bigB)
             fbuo(x,i,bigB)
             ppar(x,z)
             recitt(itemtypes)
             pp(x)
             np(x)
             pa2conr(x)
             paridx(nstates,itemtypes,mat,idx1=0,idx2=0,it=0,comp=1,group=1)
             fresp(x,pars)
             bdiag(x)
             cl2st(cluster,dat,dmm)
             cl2stob(cluster,dat,dmm)
             kmstart(dat,dmm)
             poststart(dat,dmm)
             tr2stin(sttr)

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

  dat,xm: See markovdata help.

dmm,itemtypes,nstates: See dmm help.

 cluster: Some clustering of the data, eg from kmeans or posterior
          estimates that can be used to arrive at starting values for
          parameters.

    sttr: transition matrix starting values.

printlevel,tdcov: See depmix help.

x,mat,idx1,idx2,it,comp,group: A vector/matrix(name)/indices et cetera.

i,z,bigB,pars: More internal stuff.

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

     Function bdiag takes as argument a list of matrices and returns
     the  blockdiagonal matrix formed from these, and the other entries
     padded with  zeroes. This function is from package assist by
     Chunlei Ke and Yuedong Wang.

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

     Most of these functions are used for their side-effect, ie sending
     stuff to C-routines, or returning recoded stuff (data, itemtypes)
     et cetera.

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

     Ingmar Visser i.visser@uva.nl

