[R] Issue with predict() for glm models

John Fox jfox at mcmaster.ca
Thu Sep 23 20:08:50 CEST 2004


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!

Thanks,
 John




More information about the R-help mailing list