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

splitDataTable(DT, splitFactor)

Arguments

DT

Data.table to split

splitFactor

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

Value

List of data.table objects, split by column