Re: [R] stats lm() function

2009-03-12 Thread Paul Hermes
fugured that the lm call's in this loop tooks the most time and i want to reduce this. any ideas? - Original Message - From: "David Winsemius" To: "Paul Hermes" Cc: Sent: Thursday, March 12, 2009 3:42 PM Subject: Re: [R] stats lm() function I think you will fin

[R] stats lm() function

2009-03-12 Thread Paul Hermes
Hi, Im using the lm() function where the formula is quite big (300 arguments) and the data is a frame of 3000 values. This is running in a loop where in each step the formula is reduced by one argument, and the lm command is called again (to check which arguments are useful) . This takes 1