TS.acc {BLRPM}R Documentation

Accumulation of a time series

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

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 christoph.ritschel@met.fu-berlin.de

Examples

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

[Package BLRPM version 1.0 Index]