I would like to remove columns with the prefix 2023 or 2022.
vec = c("2022-10-16", "2022-10-23", "2022-10-30", "2022-11-06", "2023-01-01", "2023-01-15")
I know this is incorrect but is there something similar?
gsub("2023" | "2022", "", vec)
I would like to remove columns with the prefix 2023 or 2022.
vec = c("2022-10-16", "2022-10-23", "2022-10-30", "2022-11-06", "2023-01-01", "2023-01-15")
I know this is incorrect but is there something similar?
gsub("2023" | "2022", "", vec)
Copyright © 2021 Jogjafile Inc.