Description Usage Arguments Value See Also Examples
Analogous function for top_n
and top_frac
in dplyr, but with a different API.
1 2 3 | top_n_dt(data, n, wt)
top_frac_dt(data, n, wt)
|
data |
data.frame |
n |
If |
wt |
The numeric variable to use for ordering. |
data.table
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.