prepare_df_for_em.Rd
Change the position of categorical columns to adapt to the em.mix input form.
prepare_df_for_em(df, col_cat)
Original dataframe
Categorical columns index in df
df
Dataframe where the categorical columns are the first columns