msmodel              package:changeLOS              R Documentation

_m_u_l_t_i-_s_t_a_t_e _m_o_d_e_l

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

     Makes a 'msmodel' - object to describe a 'multi-state model'

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

     msmodel(state.names, tra, cens.name)

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

state.names: character vector of the state names

     tra: quadratic matrix of locigal values. TRUE/FALSE: transition
          is/is not possible

cens.name: character string, name of the censoring variable

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

     An object of the class 'msmodel'. The object is a list of 

msmodel$tra: quadratic matrix of locigal values. TRUE/FALSE: transition
          is/is not possible

msmodel$states: numeric vector, the set of _names_ of the states. The
          internal representation will be numbers 1, 2, 3, ...; if
          censoring occurrs, the highest number will be the censoring
          code

msmodel$state.names: character vector of the statenames

msmodel$transitions: matrix with two columns, 1.column: state 'from',
          2.column: state 'to',the number of rows is the number of
          possibles transitions

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

     Matthias Wangler mw@imbi.uni-freiburg.de

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

     my.model <- msmodel(c("0","1","2","3"),cens.name="cens")

