[R] How to fix slope and estimate intercept

Jun Shen jun.shen.ut at gmail.com
Thu Jul 22 19:29:30 CEST 2010

Dear all,

Is there anyway I can fix slope in some value and only estimate
intercept for a linear regression? I understand lm(y~1, data) will NOT
have a slope at all. This is not what I want. Thanks.


More information about the R-help mailing list