I quite a few data sets that I would like to plot using a for loop. I make a list using
dflist <- c('Set1', 'Set2','Set3', 'Set4')
Then I try to do:
for (i in dflist) {
plot(i$var1,i$var2)
}
Which does not work. Could anyone sort me out here?