Create a vector of your REBL items from a data frame using a regex matching pattern.
Arguments
- df
A data frame containing all the REBL items
- pattern
A regex matching pattern
- ...
Additional arguments passed to
grepl()
Details
This is a convenience function, but not essential in the workflow. If you
already have a vector of your REBL item names, that works just as well. Using
this function might be easier or harder depending on how items are named. If
they are something like rebl_*
this would work quite well. Otherwise, like
in the example, we might have to use some "OR" operators to represent them
all.
A vector of your REBL items will be required later in the workflow, however you choose to get it.