Mimics dplyr::filter using base R and rlang

b_filter(.data, ...)

# S3 method for default
b_filter(.data, ...)

# S3 method for split_df
b_filter(.data, ...)

Arguments

.data

data.frame

...

Logical predicates defined in terms of the variables in .data

Value

data.frame

See also

Examples

airquality%>% b_filter(Temp > 80)%>% head()
#> Ozone Solar.R Wind Temp Month Day #> 29 45 252 14.9 81 5 29 #> 35 NA 186 9.2 84 6 4 #> 36 NA 220 8.6 85 6 5 #> 38 29 127 9.7 82 6 7 #> 39 NA 273 6.9 87 6 8 #> 40 71 291 13.8 90 6 9