[R] adding observations to lm for fast recursive residuals?

2004-09-15 Thread ivo_welch-rstat8783
dear R community: i have been looking but failed to find the following: is there a function in R that updates a plain OLS lm() model with one additional observation, so that I can write a function that computes recursive residuals *quickly*? PS: (I looked at package strucchange, but if I am

Re: [R] adding observations to lm for fast recursive residuals?

2004-09-15 Thread roger koenker
In my quantreg package there is a function called lm.fit.recursive() that, as the .Rd file says: Description: This function fits a linear model by recursive least squares. It is a utility routine for the 'khmaladzize' function of the quantile regression package. Usage: