filter_dt: Filter entries in data.frame

Description Usage Arguments Value See Also Examples

Description

Analogous function for filter in dplyr.

Usage

1

Arguments

data

data.frame

...

List of variables or name-value pairs of summary/modifications functions.

Value

data.table

See Also

filter,dt_filter

Examples

1
2
3
4
5
 # filter by condition
 iris %>% filter_dt(Sepal.Length == max(Sepal.Length))

 # filter by compound condition
 mtcars %>% filter_dt(am==0,cyl == 4)

hope-data-science/tidydt0 documentation built on Feb. 3, 2020, 12:04 a.m.