Learn R Programming

contextual (version 0.9.8.4)

data_table_factors_to_numeric: Convert all factor columns in data.table to numeric

Description

Convert all factor columns in data.table to numeric

Usage

data_table_factors_to_numeric(dt)

Arguments

dt

a data.table

Value

the data.table with column factors converted to numeric