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.

Jun

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

Reply via email to