powered by
TS.acc accumulates a given time series x at a given accumulation level acc.val. Minimum value for acc.val is 2 [unit time]
TS.acc
x
acc.val
TS.acc(x,acc.val)
vector of a time series
vector
value specifying the accumulation level, minimum value is 2
value
x.acc TS.acc returns a vector of an accumulated time series
# NOT RUN { x <- rgamma(1000,1) x.2 <- TS.acc(x,acc.val=2) # }
Run the code above in your browser using DataLab