- #1
Mosis
- 55
- 0
I'm interested in fitting a line to some data. There is a built-in function in R lm() that gives me both the best-fit slope and intercept, however, I would like to determine the best fit intercept GIVEN a specified value of the slope. Is there an easy way to do this?
I apologize if this is in the wrong forum. I know it's not exactly "programming" but I don't know a more appropriate place to post this.
I apologize if this is in the wrong forum. I know it's not exactly "programming" but I don't know a more appropriate place to post this.