I'm trying to estimate a lot of models in a for-loop in R. I first defined a set of possible values for the variable 'Date', and stored these in 'Dates'. Then, for each model, I define a subset of a general dataset, according to these values of 'Dates'.I'm trying to estimate a lot of models in a for