I know this is a super easy question but I really don't know what the best (most common) way in R is. I have a character-vector:
> dataframes
[1] "saga/dataframes/isce.log" "saga/dataframes/no_filter.csv"
[3] "saga/dataframes/sig0.9_iter100_viter50_nb_cv0.csv" "saga/dataframes/sig0.9_iter20_viter50_nb_cv0.csv"
And what I want are the entries where no isce.log
is in the element. So actually the 2nd to 4th.
There are so many options in R to work with character-vector that I'm super confused.
Is this a case for subset
or maybe for dplyr
's filter
or str_subset
...?