1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Data Manipulation with data.table in R

Connected

अभ्यास

Filtering with %in%

%in% allows selecting rows that exactly matches one or more values, for example:

c("a", "b", "c", "d") %in% c("d", "a")
[1]  TRUE FALSE FALSE  TRUE

निर्देश

100 XP

Filter all rows where trip_id is equal to 588841, 139560, or 139562.