I would like to create data frames from a FOR-LOOP in R.
Basically, I would like to do something like this:
for (i in 1:3) { x"i"= 1+i}
In this case, I would like to get 3 dataframes:
- x1 that would only contain 2
- x2 that would only contain 3
- x3 that would only contain 4
Is there a way to do this in R?