Description Usage Arguments Examples
This function allows you transpose data.table objects very rapidly, whilst maintaining control of row and column names.
1  | 
dt | 
 The data.table object you wish to transpose.  | 
transCol | 
 The name of the column that you wish to pivot on. Values in this column will become the new colnames.  | 
rowID | 
 This will be the name of the new rownames column  | 
1  | transDT()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.