On Jul 9, 2009, at 8:20 PM, Alexander V Stolpovsky wrote:
Thank you much for the useful pointers. Turns out, I can get what I
want with predict(fit, newdata = newdata). But for the record, there
is no way to get the fit function, from lm object, is there?
Alex
Alex,
There is no function returned within the model object.
You can review the structure of the returned model object by using:
str(fit)
HTH,
Marc Schwartz
______________________________________________
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.