rescale_to_range | R Documentation |
Maps a series of numeric values to a new range defined by minimum (from) and maximum (to).
rescale_to_range(data, from, to)
data |
numeric vector containing the data to be scaled |
from |
minimum of new range |
to |
maximum of new range |
numeric vector with scaled data
rescale_to_range(data = 1:10, from = 1, to = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.