[R] modifying a glm object

Adrian Baddeley adrian at maths.uwa.edu.au
Mon Jun 21 12:14:03 CEST 2004


I need to modify a glm object directly, by assigning new values
to the fitted parameters.

(i.e. the canonical parameters stored in object$coefficients 
and returned by 'coef').

Is there a "safe" way to do this, e.g. so that 'residuals' and 'predict' 
give the correct results for the new model?

thanks
Adrian Baddeley




More information about the R-help mailing list