Description Usage Arguments Examples
Linearly rescale a vector to range between minb and maxb.
1 | my.rescale(a, minb, maxb, mina = NULL, maxa = NULL)
|
a |
Input vector. |
minb |
. |
maxb |
. |
mina |
. |
maxa |
. |
1 2 3 | a <- c(2:8)
my.rescale(a, 1, 10)
my.rescale(a, 1, 10, minb=1, maxb=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.