[R] distance from fitted line

Rolf Turner r.turner at auckland.ac.nz
Mon Oct 20 21:40:39 CEST 2014


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



More information about the R-help mailing list