bwcontrol            package:HiddenMarkov            R Documentation

_C_o_n_t_r_o_l _P_a_r_a_m_e_t_e_r_s _f_o_r _t_h_e _B_a_u_m _W_e_l_c_h _A_l_g_o_r_i_t_h_m

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

     Creates a list of parameters that control the operation of
     'BaumWelch'.

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

     bwcontrol(maxiter = 500, tol = 1e-05, prt = TRUE, posdiff = TRUE,
               converge = expression(diff < tol))

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

 maxiter: is the maximum number of iterations, default is 500.

     tol: is the convergence criterion, default is 0.00001.

     prt: is logical, and determines whether information is printed at
          each iteration; default is 'TRUE'.

 posdiff: is logical, and determines whether the iterative process
          stops if a negative log-likelihood difference occurs, default
          is 'TRUE'.

converge: is an expression giving the convergence criterion. The
          default is the difference between successive values of the
          log-likelihood.

_E_x_a_m_p_l_e_s:

     #    Increase the maximum number of iterations to 1000.
     #    All other components will retain their default values.
     a <- bwcontrol(maxiter=1000)
     print(a)

