[R] lm fitting with a specified slope

Rob Lee rlee at fpcc.net
Thu Oct 3 21:14:45 CEST 2002


Is there an easy way to do a linear model with an a priori known slope?

In essence, I want to minimize the residuals around a line of known slope.

-R

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list