On 20/10/14 23:00, eliza botto wrote:
Thankyou very much Joachim. Actually I already know the residual() command. I only wanted to know that is there a way to account for the fitted lines? its more of a criosity rather than a problem. :) Thankyou very much once again.
What (on earth!) do you mean by "account for the fitted lines"? The residuals *are* the (signed, vertical) distances of the observed values from the fitted line.
cheers, Rolf Turner -- Rolf Turner Technical Editor ANZJS ______________________________________________ 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.