Skip to content
Prev 155187 / 398503 Next

lm and time series.

On Fri, 5 Sep 2008, rkevinburton at charter.net wrote:

            
y <- ts(4:7)
lm(y ~ time(y))

And as previously pointed out to you: To preserve the time series 
properties, look at ?lm, the "dynlm" and "dyn" packages.
Z