Survr                package:survrec                R Documentation

_C_r_e_a_t_e _a _S_u_r_v_i_v_a_l _r_e_c_u_r_r_e_n_t _o_b_j_e_c_t

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

     Create a survival recurrent object, usually used as a response
     variable in a model formula

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

     Survr(id, time, event)
     is.Survr(x) 

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

      id: Identificator of each subject. This value is the same for all
          recurrent times of each subject.

    time: time of reccurence. For each subject the last time are
          censored.

   event: The status indicator, 0=no recurrence 1=recurrence. Only this
          values are accepted. 

       x: 

     {any R object.}

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

     An object of class Survr. Survr objects are implemented as a
     matrix of 3 colummns. No method for print.

     In the case of is.Survr, a logical value T if x inherits from
     class "Survr", otherwise an F.

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

     'survfitr','psh.fit','wc.fit','mlefrailty.fit'

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

      data(MMC)
      Survr(MMC$id,MMC$time,MMC$event)

