[R] Issue with predict() for glm models

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Sep 23 21:59:10 CEST 2004


John Fox wrote:

> Dear Uwe, 
> 
> 
>>-----Original Message-----
>>From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] 
>>Sent: Thursday, September 23, 2004 11:37 AM
>>To: John Fox
>>Cc: r-help at stat.math.ethz.ch
>>Subject: Re: [R] Issue with predict() for glm models
>>
> 
> . . .
> 
> 
>>John,
>>
>>note that I used glm(y ~ .) (the dot!),
>>because the names are automatically chosen to be X.1 and X.2, 
>>hence you cannot use "X" in the formula in this case ...
>>
>>Best,
>>Uwe
> 
> 
> OK -- I see. I did notice that you used . in the formula but didn't make the
> proper connection!

Sorry, my first reply was too short and imprecisely.
Thank you to help clarifying things.

Uwe


> Thanks,
>  John




More information about the R-help mailing list