filter_dt | R Documentation |
Choose rows where conditions are true.
filter_dt(.data, ...)
.data |
data.frame |
... |
List of variables or name-value pairs of summary/modifications functions. |
data.table
filter
iris %>% filter_dt(Sepal.Length > 7)
iris %>% filter_dt(Sepal.Length == max(Sepal.Length))
# comma is not supported in tidyfst after v0.9.8
# which means you can't use:
## Not run:
iris %>% filter_dt(Sepal.Length > 7, Sepal.Width > 3)
## End(Not run)
# use following code instead
iris %>% filter_dt(Sepal.Length > 7 & Sepal.Width > 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.