I have a for loop:
for (i in 1:10){ Ai=d+rnorm(3)}
What I would like to do is have A1, A2,A3...A10
and I have the variable i
in the variable name.
It doesn't work this way, but I'm probably missing some small thing. How can I use the i
in the for loop to assign different variable names?