Splits a vector of strings by a given regexp, selects and rearranges the parts and joins them again
filter_measurement_names(dat, elems = c(1, 3), by = "_")
The readout matrix to filter.
The elements to select. They are rearrange in the order that is given via this argument.
The string used for splitting the names of the columns.
A matrix where the names of the columns are split by the given string, rearranged and again joined by the string.