[R] Linear Model Prediction

cm bunnylover23 at optonline.net
Tue Jul 24 20:20:49 CEST 2012


I have data X and Y, and I want to predict what the very next point would be
based off the model. This is what I have:
>model=lm(x~y)

I think I want to use the predict function, but I'm not exactly sure what to
do.

Thank you!



--
View this message in context: http://r.789695.n4.nabble.com/Linear-Model-Prediction-tp4637644.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list