A wt_dt
table is a data.table.
Therefore, it can be used by any function that would work on a data.frame or a data.table.
Most of the operation such as variable creation, subsetting and joins are inherited from the data.table
[]
operator, following the convention DT[i,j,by]
(see data table package for detail).