Description Usage Arguments Value Examples
View source: R/original/Additional file 2.R View source: R/simulation.R
Stretches a vector of values between specified constraints.
1 | stretch(x, con)
|
x |
Vector of values to stretch. |
con |
Vector in the form of c(min, max) specifying new constraints |
A vector of values rescaled to have a minimum of con[1]
and
a maximum of con[2]
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.