Displaying 1 result from an estimated 1 matches for "306981".
Did you mean:
  30681
  
2007 Aug 28
3
Forcing coefficients in lm object
Dear all,
I would like to use predict.lm() with an existing lm object but with new arbitrary coefficients. I modify 'fit$coef' (see example below) "by hand" but the actual model in 'fit' used for prediction does not seem to be altered (although fit$coef is!).
Can anyone please help me do this properly?
Thanks in advance,
J?r?mie
> dat <-