[R] Updating a linear model

Thomas Lumley tlumley at u.washington.edu
Mon Sep 22 20:20:18 CEST 2003


On Mon, 22 Sep 2003, Paul Meagher wrote:

> Say I have collected data and used it to construct a linear model.
>
> I now have a new observation and want to use it to update my linear model.
>
> Is there a more efficient way to update the model than recomputing the
> linear model from the complete data set?
>

Not implemented.  While in principle there are much more efficient things
to do, in practice there is enough overhead in lm() that it probably isn't
worth doing them.


	-thomas




More information about the R-help mailing list