CompetingRiskFrailtySurvpackage:CompetingRiskFrailtyR Documentation

_C_r_e_a_t_e_s _a _C_o_m_p_e_t_i_n_g _R_i_s_k _M_o_d_e_l _O_b_j_e_c_t

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

     Creates an object of class 'CompetingRiskFrailtySurv' for using as
     a response in the model formula in the call to the
     'CompetingRiskFrailtySurvitCreate' function.

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

     CompetingRiskFrailtySurv(ID=ID,surv.time=surv.time, status=status)

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

      ID: identification of clusterd observations.

surv.time: time to follow up for right censored data.

  status: a data frame or a matrix with columns indicating the
          resulting event (or comepting risk) and coded as
          (0,1)-indicator vectors, 1 for event of the specified type,
          and 0 if such an event has not been observed.

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

     The function handls only right censored data. All arguments must
     be  numeric vectors. NA's can be supplied but will not be
     supported  by  the function 'CompetingRiskFrailtySurvfitCreate' in
     the further analysis.

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

     An object of class 'CompetingRiskFrailtySurv'.

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

     Pavel Khomski <pkhomski@wiwi.uni-bielefeld.de>

_R_e_f_e_r_e_n_c_e_s:

     Kauermann G. and Khomski P. (2006): _Full time or part time
     reemployment: a competing risk model with frailties and smooth
     effects using a penalty based approach_, to appear.

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

     'CompetingRiskFrailtySurvfitCreate'

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

     data(unemployed.comp.risk)
     ID<-unemployed.comp.risk$id
     surv.time<-unemployed.comp.risk$surv.time
     status<-unemployed.comp.risk[,3:4]
     my.Surv<-CompetingRiskFrailtySurv(ID=ID,surv.time=surv.time,status=status)

