scale_zero_one: Scale Vector between Zero and One

Description Usage Arguments Examples

View source: R/scale_zero_one.R

Description

With a numeric vector scale between zero and one.

Usage

1

Arguments

vec

a numeric vector

Examples

1
2
3
4
5
6
vec = rnorm(1000)

zero_one = scale_zero_one(vec)

range(vec)
range(zero_one)

Rekyt/divr documentation built on Jan. 23, 2018, 6:13 p.m.