I am interested in something like this:
for (i in 1:10) {
df[i]<-function(x,y,i)
}
Where I would like the output to be 10 different dataframes with names df1, df2, df3, etc.
I know you can include variables in a dataframe column name using:
for (i in 1:10) {
df[,paste0(i)]<-function(x,y,i)
}
But I would like 10 separate dataframes, not 1 dataframe with 10 appropriately named columns.