I have 3 data frames called 'first', 'second' and 'third'
I also have a string vector with their names in it
frames <- c("first","second","third")
I would like to loop through the vector and refer to the data frames
for (i in frames) {
#set first value be 0 in each data frame
i[1,1] <- 0
}
This does not work, what am I missing?