I have a for cycle which makes new table for every i. How can I name those tables ``table_i`?
I have tried to save new tables under the name table_i, table_[i] and also paste("table", i, sep = "_"), but nothing seems to work. This is what I have now.
for (i in 2010:2016) {
df %>%
  filter(df$year == i)  ->  table_i}
I would like to have 7 tables called table_2010, table_2011, .., table_2016.
 
    