・This is the table , name: x
==================================================================
# A tibble: 6 x 10
ID blood age hair_color name height weight distance expiry
<dbl> <chr> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
1 1 P 60 yellow john 999 128 110 120
2 2 N 52 black tom 999 180 156 160
3 3 P 100 white tom 999 190 140 999
4 4 N 84 yellow tom 112 136 126 122
5 5 P 56 brown tom 64 230 150 130
6 6 P 105 green dan 999 142 150 999
===================================================================
.Expected Image:
===================================================================
ID blood age hair_color name height weight distance expiry
<dbl> <chr> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
1 1 P 60 yellow john 999 128 110 120
2 4 N 84 yellow tom 112 136 126 122
===================================================================
.Backgound:Beginner
Moverover, how to
1.filtering data with "contain" function? -like: extract data in column:hair_color ,contain "ye"
2.filtering data with multi conditions? -like: in column:hair_color ,contain "ye" and in column:name ,start with "to"
Simply imaging how to do something exactly like working in Excel, Thanks in advance.