my question is quite simple.
I would like to change the ending name of a variable in a for loop according to i. I know I have used this somewhere, but I can't find it anywhere. Does anyone have any ideas?
For example:
for (i in 1:5){ paste0("b",i) = 5 }
---> I would like to get: b1 = 5 b2 = 5 ... b5 = 5