I want to add a string of text at the end of the column names in my data frame. How do I do this?
Example data (where I want to change column names A, B, C, D, E to Atext, Btext, Ctext, Dtext, Etext):
df <- structure(list(User_ID = 1:4, A = c(0.815353067, 0.698314902, 0.774619233, 0.949620322),
B = c(0.684046246, 0.427028078, 0.579449798, 0.977426626),
C = c(0.101562005, 0.943064479, 0.19946195, 0.70068721),
D = c(0.525384365, 0.638082727, 0.651924335, 0.112375646),
E = c(0.415664129, 0.006406548, 0.85036104, 0.510504667)),
class = "data.frame", row.names = c(NA, -4L))