data_manipulation: Data Manipulation Function
Description
This function takes the data and all the variables and does the extension preprocessing
Usage
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?