[R] Modeling the trend and eliminate it

Poizot Emmanuel poizot at cnam.fr
Tue Apr 8 17:09:14 CEST 2003


Hi,
I would like to eliminate the trend of a set localised (with x an  y) data.
I try to fit a linear model to the data:
mod.01 <- lm(ff~x+y)
I've got so a model. My question is how can I do to subtract the model from 
the initial f data ?

-- 
Cordialement
----------------------------------------
Emmanuel POIZOT
Cnam/Intechmer
Digue de Collignon
50110 Tourlaville
Tél : (33)(0)2 33 88 73 42
Fax : (33)(0)2 33 88 73 39
-----------------------------------------



More information about the R-help mailing list