itsLags {its} | R Documentation |
Lag functions for objects of class "its"
.
lagIts(x,k=1) lagdistIts(x,kmin,kmax)
x |
an object of class "its" |
k, kmin, kmax |
integer lag; positive value mean earlier data is assigned to a later timestamp |
lagIts
returns an object with the same time-stamps, but with the data shifted.
lagdistIts
applies lagIts over a range of lags, and appends these columns
An object of class "its"
.
Giles Heywood
ts
,
POSIXct
,
itsFile
,
itsLags
itsJoin
itsTimes
itsSubset
itsFin
itsDisp
itsInfo
itsCumdif
itsArith
itsInterp
b <- newIts(1:10) lagIts(b) lagdistIts(b[,1],1,3)