Compute REDI for a specific input
compute_redi.Rd
Compute REDI for a specific input
Arguments
- data
A tibble or data frame, containing an
Input
column (with the Date format) and anOutput
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.
Value
A number, corresponding to the REDI value at the last Input
time,
computed over the whole period.
Examples
data <- simu_db()
compute_redi(data = data, coef = 0.1)
#> [1] 50.15783