Maps the pF domain [pf_left, pf_right] linearly to [0, 1].
Values outside the domain are clipped.
Examples
pf_normalize(c(-2, 0, 4, 7.6))
#> [1] 0.0000000 0.2083333 0.6250000 1.0000000
Maps the pF domain [pf_left, pf_right] linearly to [0, 1].
Values outside the domain are clipped.
pf_normalize(c(-2, 0, 4, 7.6))
#> [1] 0.0000000 0.2083333 0.6250000 1.0000000