How to define an object that will take the result of using regsubsets?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to define an object that will take the result of using regsubsets?

titty_sprinkles
This post has NOT been accepted by the mailing list yet.
Dear all,

How would I define an object that would take the result of using regsubsets? For example, I want to define a row Fitty of lenght 10 such that it can take 10 results of regsubsets as follows:

for (i in 1:10){
fitty[i] = regsubsets( nigel~. , farager[dbag!=i,],nvmax=20)
}

-TS