View source: R/step-subset-filter.R
filter.dtplyr_step | R Documentation |
This is a method for the dplyr arrange()
generic. It is translated to
the i
argument of [.data.table
## S3 method for class 'dtplyr_step'
filter(.data, ..., .by = NULL, .preserve = FALSE)
.data |
A |
... |
< |
.by |
< |
.preserve |
Ignored |
library(dplyr, warn.conflicts = FALSE)
dt <- lazy_dt(mtcars)
dt %>% filter(cyl == 4)
dt %>% filter(vs, am)
dt %>%
group_by(cyl) %>%
filter(mpg > mean(mpg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.