search for: summr

Displaying 1 result from an estimated 1 matches for "summr".

Did you mean: summer
2012 Jun 08
1
Saving estimates after nested loops
 Hi R-listers, Savings regression results after a loop is straightforward. But what about when you have nested loops? I am running a regression of the form  lm(y~1+x+M+ D[,i] + D[,j] + D[,k]) where x is the variable of interest. M and D are vectors with other covariates. Vectors "M" and "x" are included in every regression. Then i loop over the columns of D to use all