View source: R/small-utility-functions.R
setKeyDGVM | R Documentation |
Keys should be set on all data.table object for sorts, joins, DGVMTool-defined operators etc. This function should be called on a data.table stored in a Field after it has been created, including if it was created by averaging another data.table because it seems as keys are not conserved.
setKeyDGVM(dt)
dt |
The data.table for which to set the key |
Returns nothing because changes the original data.table by reference (this is the data.table way)
Matthew Forrest matthew.forrest@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.