Re: [R] All combinations possible in a mutliple regression

2012-08-14 Thread zel7223
Leaps works :) Thanks a lot! JMF - Jean-Michel Fortin Étudiant au premier cycle en Biologie/ Undergraduate in Biology Lab Currie Université d'Ottawa/ Currie Lab University of Ottawa -- View this message in context: http://r.789695.n4.nabble.com/All-combinations-possible-in-a-mutliple-reg

[R] All combinations possible in a mutliple regression

2012-08-09 Thread zel7223
Hi, I want to use four independent variables to predict the output of one dependent variable using a linear model lm. I want to compare all possible combinations of the 4 independent variables, including singles, pairs and triples. I was thinking of using the AIC test to compare all models and pi