I create a lot of polynomial models to compare them, so I used a loop like this:
library(ISLR) library(boot) data(Wage) list = list() for (i in 1:10){ list