I am using lm(y~poly(x,2))
to fit a second-order polynomial to my data. But I just couldn't find a way to specify a known intercept value. How can I fit a polynomial model with a known intercept value (say 'k') using lm
?
↧
fitting a polynomial with a known intercept
↧