Description Usage Arguments Value
A function to rescale a certain (x,y) matrix pair into a new (x_new, y) pair.
1 | rescaleToRange(new_xs, old_xs, y)
|
new_xs |
Numeric vector. The new x labels that we want to rescale to |
old_xs |
Numeric vector. The x labels of the previous matrix |
y |
Numeric vector. The original y values corresponding to old_xs |
Numeric vector corresponding to the y's rescaled to fit the x_new vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.