Displaying 1 result from an estimated 1 matches for "hezewijk".
2009 Jan 16
1
specifying model terms when using predict
...;-glm(orig.df$y1~orig.df$x1,data=orig.df)
pred1<-predict(lm1,newdata=data.frame(x1=101:150))
The final statement generates the following warning:
Warning message:
'newdata' had 50 rows but variable(s) found have 100 rows
Hope this is of some help.
Brian Van Hezewijk
[[alternative HTML version deleted]]