James G. answered 06/06/19
Accomplished tutor specializing in Writing, Math, Accounting, and PM
d1 <- data.frame(y1 = c(1, 2, 3), y2 = c(4, 5, 6))
d2 <- data.frame(y1 = c(3, 2, 1), y2 = c(6, 5, 4))
I would use the list command to create a list of the two df's.
Remember to assign the list to a new object "list.d"
You can call individual element (df) in the list using list.name[n]
See below;
list.d<-list(d1,d2)
list.d[1]
list.d[2]