loop_redi {REDI}R Documentation

Compute the evolution of REDI over successive inputs

Description

Compute the evolution of REDI over successive inputs

Usage

loop_redi(data, coef = 0.1)

Arguments

data

A tibble or data frame, containing an Input column (with the Date format) and an Output column. A simple vector of workload values, pre-sorted by chronological order can also be provided.

coef

A number corresponding to the lambda coefficient, controlling the decay of the exponential weights. Default is 0.1.

Value

A tibble similar to data, containing an additional REDI column computed over the successive input values.

Examples

data <- simu_db()
loop_redi(data = data, coef = 0.1)

[Package REDI version 1.0.0 Index]