loop_redi: Compute the evolution of REDI over successive inputs

View source: R/computing-functions.R

loop_rediR 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)

REDI documentation built on June 7, 2023, 5:10 p.m.