Skip to content
Prev 280901 / 398503 Next

glm predict issue

Giovanni Azua <bravegag <at> gmail.com> writes:
reviewing the online matches I end up
I would like to predict the
object$xlevels) :
achieve i.e. extrapolate the values
Any predictors that you want to treat as continuous
(which would be the only way you can extrapolate to unobserved
values) should be numeric, not factor variables -- use 

mydata <- transform(mydata, var=as.numeric(var))

for example.