12
I want to generate different databases in a loop. In the example below would be 3 distinct databases with the following names: "data1", "data2", "data3".
for (n in 1:3){
dados<-paste0("dados",n)
dados<-runif(10,1,20)}
However when running the code only one object with the name "data" is generated instead of the three.
How to make R understand that I want to assign values to objects created in the loop?