[R] Adding rows to a table with a loop

2011-10-24 Thread MJS
Hi All, Its a bit of a beginners question I'm afraid. I have a looped stepwise regression (using MASS and StepAIC) to take random predictors out of the total number. For this example a random sample of 5 out of a total of 20. The loop will continue until all combinations of variables have been

Re: [R] Adding rows to a table with a loop

2011-10-26 Thread MJS
Thanks for the response, and the advice, glmulti looks like it could be quite a good alternative. As for the adding to the results table problem from within the loop, this webpage:

[R] Extracting a regression equation from 'lars' or 'glmnet'

2011-10-28 Thread MJS
ut from the function? Hopefully including variable names and coefficients. MJS -- View this message in context: http://r.789695.n4.nabble.com/Extracting-a-regression-equation-from-lars-or-glmnet-tp3947772p3947772.html Sent from the R help mailing list archive at Nabble.com.