Dear Arun, Barradas and Peter,thankyou so very much for your favour. i was actually more interested in using "Leaps" command. anyway, your replies have helped me to a great deal. Dear Bert Gunter: i know i m not an expert of R, like you. I have been using this forum for the last so many days now. reply like yours, simply wont help. anyway, thanks for your advice. eliza
> Date: Fri, 26 Oct 2012 16:36:27 -0700 > From: ehl...@ucalgary.ca > To: eliza_bo...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] regression analysis in R > > On 2012-10-26 13:00, eliza botto wrote: > > > > Dear useRs, > > i have vectors of about 27 descriptors, each having 703 elements. what i > > want to do is the following 1. i want to do regression analysis of these 27 > > vectors individually, against a dependent vector, say B, having same number > > of elements.2. i would like to know best 10 regression results, if i do > > regression analysis of dependent vector against the random combination of > > any 4 descriptors. more precisely, in the first step we did regression of > > dependent vector against individual vector of each descriptor, but now we > > want R to randomly combine descriptors in a set of 4 and does regression > > analysis with B to see what are top 10 combination of descriptors giving > > good regression results with B? i hope i am clear. i know 2nd part is more > > tricky, but i will be extremely happy if you can answer any one of the > > above questions. > > thanks in advanceeliza > > > > I hope that you're doing _exploratory_ data analysis. > Have a look at the 'leaps' package. It might be suitable. > > Peter Ehlers > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.