Re: [R] object not found inside step() function

2009-11-16 Thread shuai yuan
Thanks David. My code is ok if I did not wrap it up. The problem poped up after i make it as a function. In my step() call, i just make it a little bit more general. I do not like stepwise method too, but need it as a comparison. samer On Mon, Nov 16, 2009 at 3:03 PM, David Winsemius wrote:

Re: [R] object not found inside step() function

2009-11-16 Thread David Winsemius
On Nov 16, 2009, at 2:31 PM, shuai yuan wrote: Hi, there, My appologize if someone ask the same question before. I searched the mailing list and found one similar post, but not what i want. The problem for me is, I use the step( glm()) to do naive forward selection for logistic regression

[R] object not found inside step() function

2009-11-16 Thread shuai yuan
Hi, there, My appologize if someone ask the same question before. I searched the mailing list and found one similar post, but not what i want. The problem for me is, I use the step( glm()) to do naive forward selection for logistic regression. My code is functional in the open environment. B