split_by_cols: Split a data.table

Description Usage Arguments

View source: R/time.table.R

Description

Splits a data.table according to a number of its columns.

Usage

1

Arguments

dt

data.table to split

cols

column names to split by

Returns a list with attribute "values" containing the unique combination of cols values associated to each element of the list.


rossklin/timetablr documentation built on May 27, 2019, 11:40 p.m.