summary             package:HiddenMarkov             R Documentation

_S_u_m_m_a_r_y _M_e_t_h_o_d_s _f_o_r _H_i_d_d_e_n _M_a_r_k_o_v _M_o_d_e_l _O_b_j_e_c_t_s

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

     Provides methods for the generic function 'summary'.

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

     ## S3 method for class 'dthmm':
     summary(object, ...)
     ## S3 method for class 'mmglm':
     summary(object, ...)
     ## S3 method for class 'mmpp':
     summary(object, ...)

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

  object: an object with class '"dthmm"', '"mmglm"' or '"mmpp"'.

     ...: other arguments.

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

     The code for the methods '"dthmm"', '"mmglm"' and '"mmpp"' can be
     viewed by typing 'summary.dthmm', 'summary.mmglm' or
     'summary.mmpp', respectively, on the R command line.

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

     A list object with a reduced number of components, mainly the
     parameter values.

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

     Pi <- matrix(c(0.8, 0.2,
                    0.3, 0.7),
                  byrow=TRUE, nrow=2)

     x <- dthmm(NULL, Pi, c(0, 1), "beta",
                list(shape1=c(2, 6), shape2=c(6, 2)))

     x <- simulate(x, nsim=2000)

     print(summary(x))

