[R] Returning the coef from two coordinates

Hans Thompson hans.thompson1 at gmail.com
Fri Apr 27 23:08:09 CEST 2012


I meant (1,1) as an (x,y) coordinate.  I am trying to find the function to
return the coefficient of the line running through:

>B
    x  y
a  1  1

and all the points in:

>A
     x   y  
a  1   3
b  2   2
c  3   1

hope that is more clear.  Thanks again Rui.

--
View this message in context: http://r.789695.n4.nabble.com/Returning-the-coef-from-two-coordinates-tp4593504p4593754.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list