Learn R Programming

MIICD (version 1.1)

preproc.crreg: preproces the data for MIICD.crreg

Description

For internal uses

Usage

preproc.crreg(data = data, k = k, trans = trans, status = status, lt = 3 * nrow(data))

Arguments

data
entry data
k
number of dataset to be imputeed at each iteration
trans
transition of interest
status
name of the column of status
lt
number of time points were the cumulative incidence function is to be estimated

Value

  • data2subset of interval censored data
  • t1single times at wich the cumulative incidence function is estimated
  • data1data frame of imputated data for exact time observation or right censored data
  • ororiginal order of the data
  • Iindicator of interval censored observations

Details

data1 is a data frame were the same value is repeated k time for each row. This function has been made to reduce the size of realy interval sensored data what will be imputed iteratively. The idea is to treat right censored and exact time failure observation ones for all.

See Also

preproc.coxph