This function evaluates the calculated values from an indicator using a parabolic function. After the optimum is reached the it stays at its plateau.
evaluate_parabolic(x, x.top)
(numeric) The values of a calc function to be converted to an evaluation
(numeric) The value at which x reaches the plateau
A transformed variable after applying a parabolic evaluation function. A numeric value.
evaluate_parabolic(x = 5, x.top = 8)
#> [1] 0.859375
evaluate_parabolic(x = c(0.1,0.5,1.5,3.5), x.top = 6.5)
#> [1] 0.03053254 0.14792899 0.40828402 0.78698225