[R] details about lm()

From: Domenico Cozzetto <domenico.cozzetto_at_uniroma1.it>
Date: Mon 10 Oct 2005 - 17:06:59 EST

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?
I also have another question: How does lm() choose the point through which the output straight line goes in order to compute the values of its slope and intercept?

I would be very grateful if anyone could help me. Domenico

Domenico Cozzetto
Biocomputing group
Department of Biochemical Sciences
"A. Rossi Fanelli"
University of Rome "La Sapienza"
P.le Aldo Moro, 5 - 00185 Rome

Tel: +39 06 49690276
Fax: +39 06 4400062
URL: http://cassandra.bio.uniroma1.it/~cozzetto/

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Oct 10 17:13:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:40 EST