arrange.dtplyr_step {dtplyr} | 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))