The input dataframe should be set in the following way:
(i) The variable names are specified in the first line in the data file.
(ii) The variable types are specified in the second line in the data file.
The variable types can include treatment (1), survival time and censor status (2), ordered (3), binary (4), nominal (5), and unwanted (6) variables.
For potential predictors, they are categorized in three types, including ordered, binary, and nominal ones.
Specifically, ordered covariates include continuous and ordinal data types, binary covariates must have only two factors (they are typically coded as 0 and 1), and nominal covariates must have more than two factors. The number in the parenthesis represents each variable type.