Message-ID: <1343203812078-4637734.post@n4.nabble.com>
Date: 2012-07-25T08:10:12Z
From: saraberta
Subject: lagged variables
hi guys,
i have some trouble in creating lagged variables to use as external
regressors.
i'm trying to use lag(x) but it gives me as result the same time series (x),
adding this part at the end:
attr(,"tsp")
[1] 0 2323 1
where do i wrong?are there other functions to be used?
thanks
sara
--
View this message in context: http://r.789695.n4.nabble.com/lagged-variables-tp4637734.html
Sent from the R help mailing list archive at Nabble.com.