scale_01 {ZIprop} | R Documentation |
Scale vector
Description
Scale a vector between 0 and 1.
Usage
scale_01(x)
Arguments
x |
a vector. |
Value
the scaled vector of x
.
Examples
x = runif(100,-10,10)
x_scale = scale_01(x)
range(x_scale)
[Package ZIprop version 0.1.1 Index]