sel_cols | R Documentation |
This is a wrapper function to select columns in a data.table
sel_cols(dt, ...)
dt |
input data.table |
... |
vector of characters of column names, column names separated by commas or range given with ":" notation |
The function creates a copy as data.table would by default. Columns will appear in the output data.table in the order that they are given in "...". Repeat column names are removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.