R/utils.R
rescale_values.Rd
Similar to scales::rescale() but it has a different behaviour when only upper or lower bound is given.
scales::rescale()
rescale_values(x, lower = NA, upper = NA)
A numerical vector.
The lower bound.
The upper bound.