I have 4 dataframes say A, B, C, D that have same columns.
I want to do something like:
for x in (A,B,C,D):
do something
It means I want to perform the same task on each dataframe one by one. I tried:
for (x in c(A,B,C,D)) {
do something
}
but it does not work.
How could I do that in R?
Thank you very much