View source: R/step-subset-arrange.R
arrange.dtplyr_step | R Documentation |
This is a method for dplyr generic arrange()
. It is translated to
an order()
call in the i
argument of [.data.table
.
## S3 method for class 'dtplyr_step'
arrange(.data, ..., .by_group = FALSE)
.data |
A |
... |
< |
.by_group |
If |
library(dplyr, warn.conflicts = FALSE)
dt <- lazy_dt(mtcars)
dt %>% arrange(vs, cyl)
dt %>% arrange(desc(vs), cyl)
dt %>% arrange(across(mpg:disp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.