scale_zero_to_one: Scale a vector to be between zero and one

Description Usage Arguments Value

View source: R/util.R

Description

Given a numeric vector returns the vector scaled so it ranges between zero and one.

Usage

1

Arguments

x

Numeric vector

...

Additional arguments passed to 'min' and 'max'. Most commonly, 'na.rm'.

Value

'x' transformed to range between zero and one.


lukerobert/luketools documentation built on Jan. 24, 2020, 2:15 a.m.