3
I have a DF in the following model,
Data    Coluna 1    Coluna 2    Coluna 3
12/01/2016  82       88           abc
06/02/2016  30       76           abd
15/03/2016  9        74           abc_abc|1234
11/01/2016  43       48           abc_abc|1235
14/04/2016  21       100          abd_abd|1234
14/04/2016  28       21           abd_abd|1235
15/01/2016  50       16           abc_abc|1236
19/01/2016  14       66           abd_abd|1231
26/02/2016  14       73           abc_abc|1239
i want to leave the lines only where in "Column 3" contain the term "abc", there is no need to do any other function, only this same filter, not necessarily the "abc" will be at the beginning of the column.
Thank you Icaro! I was trying to use the grepl but I admit that I was getting in the parameters, a doubt, because it is used the "ignore.case = T"?
– Felipe Amaral Rodrigues
To make no difference between capital letters and minuscules. It is worth remembering that you can and should always use the "help" function of R itself and take a look at the documentation of the functions and their parameters in case of doubt. Often the answer will be there. In this example, just type: help("grepl") or ? grepl on the console. Remembering that this is for any function.
– Icaro Bombonato