Hi

when I fit a glm by

        glm.fit(x,y,family = binomial())
        
and then try to use the object for prediction of newdata by:

        predict.glm(object, newdata)

I get the error:

Error in terms.default(object) : no terms component

I know I can use glm() and a formula, but for my case I prefer glm.fit(x,y)...


thanks for a hint

christoph

$platform
[1] "i686-pc-linux-gnu"

$arch
[1] "i686"

$os
[1] "linux-gnu"

$system
[1] "i686, linux-gnu"

$status
[1] ""

$major
[1] "1"

$minor
[1] "9.1"

$year
[1] "2004"

$month
[1] "06"

$day
[1] "21"

$language
[1] "R"

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to