Efficiently split a data.table by a column in the table

splitDataTable(DT, split_factor)

Arguments

DT

Data.table to split

split_factor

Column to split, which can be a character vector or an integer.

Value

List of data.table objects, split by column