Description Usage Arguments Details Value See Also Examples
Retruns subsets of a data.table
.
1 2 |
x |
|
subset |
logical expression indicating elements or rows to keep |
select |
expression indicating columns to select from |
... |
further arguments to be passed to or from other methods |
The subset
argument works on the rows and will be evaluated
in the data.table
so columns can be referred to (by name) as variables
in the expression.
The data.table
that is returned will maintain the original keys
as long as they are not select
-ed out.
A data.table
containing the subset of rows and columns that are
selected.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.