Re: [R] storing lm() results and other objects in a list

2009-07-18 Thread Uwe Ligges
Dieter Menne wrote: Idgarad wrote: ... Very long non-self-contained code removed Suggestions on how to handle the whole linearModel and the child data? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] storing lm() results and other objects in a list

2009-07-15 Thread Dieter Menne
Idgarad wrote: > > > ... Very long non-self-contained code removed > > Suggestions on how to handle the whole linearModel and the child data? > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do rea

[R] storing lm() results and other objects in a list

2009-07-15 Thread Idgarad
to clean up some code I would like to make a list of arbitrary length to store various objects for use in a loop sample code: BEGIN SAMPLE ## # You can see the need for a loop already linearModel1=lm(modelSource ~ .,mcReg) linearModel2=step(linearModel1) linearModel3=lm(