data_manipulation function

Data Manipulation Function

Data Manipulation Function

This function takes the data and all the variables and does the extension preprocessing

data_manipulation(data, use_censor = TRUE)

Arguments

  • data: data.table to pre-process for weight calculation and extension.
  • use_censor: apply censoring due to treatment switch?