powered by
Maps a series of numeric values to a new range defined by minimum (from) and maximum (to).
rescale_to_range(data, from, to)
numeric vector with scaled data
numeric vector containing the data to be scaled
minimum of new range
maximum of new range
rescale_to_range(data = 1:10, from = 1, to = 100)
Run the code above in your browser using DataLab