I want to generate separate databases in a loop. In the example below there would be 3 distinct bases with the following names: "data1", "data2", "data3".
for (n in 1:3){
dados<-paste0("dados",n)
dados<-runif(10,1,20)}
However, when you run the code, only an object named "data" is generated instead of the three.
How do I understand that I want to assign values to objects created in the loop?