[R] details about lm()

vincent@7d4.com vincent at 7d4.com
Mon Oct 10 10:09:22 CEST 2005


Domenico Cozzetto a écrit :

> Dear all,
> I'd like to get a linear regression of some data, and impose that the line
> goes through a given point P. I've tried to use the lm() method in the
> package "stats", but I wasn't able to specify the coordinates of the point
> P. Maybe I should use another method?

add directly P in your data is also a way




More information about the R-help mailing list