f_to_model_data: Data transformation: keep model variables and expand categorical variables (internal use)
Description
Transform the data set in a closed form n_row | id_name | n_pe | entry_name | exit_name | outcome | time |
linear_covariates | loglinear_covariates.
Expand if a variable is categorical to pure logical n_categories variables (excluding the reference category)