TS.acc: Accumulation of a time series

Description Usage Arguments Value Author(s) Examples

View source: R/BLRPM.R

Description

TS.acc accumulates a given time series x at a given accumulation level acc.val. Minimum value for acc.val is 2 [unit time]

Usage

1
TS.acc(x,acc.val)

Arguments

x

vector of a time series

acc.val

value specifying the accumulation level, minimum value is 2

Value

x.acc TS.acc returns a vector of an accumulated time series

Author(s)

Christoph Ritschel [email protected]

Examples

1
2
x <- rgamma(1000,1)
x.2 <- TS.acc(x,acc.val=2)

BLRPM documentation built on Oct. 6, 2017, 5:08 p.m.