Description Usage Arguments Details Value Methods (by class)
Scales a vector to a requested range.
1 2 3 4 5 6 7 |
x |
a numeric vector or matrix |
range |
range which to scale to |
Values in the vector are scaled such to fill range:
positive: from 0 to 1
negative: from -1 to 0
both: from -1 to 1
a numeric object of the same class as x
default: defult method for vectors
matrix: calls default method and copies the
dim attribute of x to result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.