I have a set of data frames for each month of 2020:
FR_01_2020
FR_02_2020
FR_03_2020
.
.
.
FR_12_2020
I'd apprecaite it if you could answer two questions :
- How can I create a list (called All_months) using these tables and by using a loop ?
In other words, I want to avoid the traditional method :
All_months <- list(FR_01_2020, ..., FR_12_2020)
- How can I define new data frames based on FR_01_2020 ... FR_12_2020 using a loop and without using the list we just created in part 1 ?
In other words something like this (of course it is wrong but it delivers the concept I am looking for)
for (i in 1:12) {
table_i <- FR_i_2020}
So the result is table_1, table_2 ... table_12.