vect.map | R Documentation |
Maps a given vector into a given range
vect.map(x, minimum = 0, maximum = 1)
x |
A numeric vector: Vector to be mapped |
minimum |
A numeric scalar: Specifies the lower bound of the output |
maximum |
A numeric scalar: Specifies the higher bound of the output |
A numeric vector
vect.map(c(1, 2, 3), minimum = 100, maximum = 300)
[1] 100 200 300
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.