powered by
Convert all factor columns in data.table to numeric
data_table_factors_to_numeric(dt)
a data.table
the data.table with column factors converted to numeric