"So do not use '$' or '[..]' terms in model formulae - this is going to cause
problems when it comes to predict, because your formula will not associate
with the names it has in its formula in the new data frame.  When you think
about it, this is obvious. "

I really don't understand why this is obvious.  I'm new to R programming,
and not all that experienced in programming in general.  I would be grateful
for any further explanation.


-- 
View this message in context: 
http://r.789695.n4.nabble.com/Newb-Prediction-Question-using-stepAIC-and-predict-is-R-wrong-tp3298569p3304421.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to