scale_to_unit {txshift} | R Documentation |
Transform values by scaling to the unit interval
Description
Transform values by scaling to the unit interval
Usage
scale_to_unit(vals)
Arguments
vals |
A |
Details
A transformation that scales an arbitrary set of input values to
the unit interval. See scale_to_original
for a corresponding
backtransformation.
Value
A numeric
vector of the same length as vals
, where the
values are re-scaled to lie in unit interval [0, 1].
[Package txshift version 0.3.8 Index]