Hi, it might help if you provide a reproducible example of your data.
You can use:
Rename columns — rename • dplyr (tidyverse.org) if you're working in the tidyverse. Otherwise, is also a base R example here: How to Rename a Single Column in R (With Examples) - Statology