Translate DT Column names to numeric indices using regex matching
which_cols.Rd
Translate DT Column names to numeric indices using regex matching
Examples
names(mtcars)
#> [1] "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear"
#> [11] "carb"
which_cols("c", mtcars)
#> [1] 2 7 11