Keep Columns
keep_cols.Rd
A function that emulates dplyr's .contains helper function combined with select, to subset columns combining a list and a pattern.
Arguments
- DT
a data.table to obtain column names from.
- pattern
a string containing the patterns to look for in the column names
- ...
other arguments coming from the grep function
Author
Alejandro Abraham a.abraham@innovationteam.eu