Convert all factor columns in data.table to numeric

data_table_factors_to_numeric(dt)

Arguments

dt

a data.table

Value

the data.table with column factors converted to numeric