transform_range(
source = c(1, 4, 3, 6, 5),
source_range = c(1, 5),
target_range = c(0, 100)
)
transform_range(
source = c(1, 4, 3, 6, 5),
source_range = c(1, 5),
target_range = c(0, 100),
flip_direction = TRUE
)
Run the code above in your browser using DataLab