scale_range | R Documentation |
Rescales continuous vector to have specified minimum and maximum.
scale_range(x, to = c(0, 1), from = range(x, finite = TRUE))
x |
A |
to |
A length-two |
from |
A length-two |
A numeric
vector.
For internal use only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.