On 31 Aug 2003 at 18:06, Lily wrote:
Have you tried library(leaps) library(help=leaps) ? Kjetil Halvorsen > Dear All, > > I would like to perform linear regressions based on Y > and all of the combinations of the five predictors, > i.e.,(y,x1,x2),(y,x1,x3),....,(y,x1,x2,x4,x5),....,(y,x1,x2,x3,x4,x5). > > Is there any quick way to do it instead of repeat > performing regressions for 31 times? Or, is there > any method to manipulate the dataset into the 31 > combinations? > > Thanks for your help! > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
