Filter entries in data.frame
Analogous function for filter
in dplyr.
filter(.data, ...)
.data |
data.frame |
... |
List of variables or name-value pairs of summary/modifications functions. |
Currently data.table is not able to delete rows by reference,
A data.table
iris = as.data.table(iris) iris %>% filter(Sepal.Length > 7) iris %>% filter(Sepal.Length > 7,Sepal.Width > 3) iris %>% filter(Sepal.Length > 7 & Sepal.Width > 3) iris %>% filter(Sepal.Length == max(Sepal.Length))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.