-1
I have an extended date.table with 64 columns.
The names of the columns are separated by points and I would like to separate by space.
Example:
Current: "Salary.January", "Salary.December", "Salary.Average"
I want: "Salary January", "Salary December", "Average Salary"
I know that the Names() function changes the column names and gsub() replaces the characters. However, I’m not sure how to apply this.
Yes, but in that case I would have to do column by column. I would not have a function to replace everything at once ?
– RxT
@Ricardotheodoro
– BrunoVdutra