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. ______________________________________________ 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.