scale_range {arkhe} | R Documentation |
Rescale Continuous Vector
Description
Rescales continuous vector to have specified minimum and maximum.
Usage
scale_range(x, to = c(0, 1), from = range(x, finite = TRUE))
Arguments
x |
A |
to |
A length-two |
from |
A length-two |
Value
A numeric
vector.
Note
For internal use only.
[Package arkhe version 1.6.0 Index]