[R] creating subsets within lm()

2009-07-30 Thread Thomas Groen
Dear All, the lm() function has the possibility to create a subset of the possible explaining variables that you have. However, in the help there is no example how to use this subset option. I tried the following:

Re: [R] creating subsets within lm()

2009-07-30 Thread Alain Zuur
Thomas A. Groen wrote: Dear All, the lm() function has the possibility to create a subset of the possible explaining variables that you have. However, in the help there is no example how to use this subset option. I tried the following: