I have the following sample data frame:
M <- c(1, 2)
S <- c(3, 4)
old_df <- data.frame(M, S)
label(old_df$M) <- "My Mathematics Variable"
label(old_df$S) <- "My Science Variable"
And I want to filter in order to only have columns that contains "Math" in the label of the columns.
Thanks!