Learn R Programming

miscset (version 0.4)

scale0: Scale to Range 0 to 1

Description

Scale numeric values to a range from 0 to 1.

Usage

scale0(x)

Arguments

x
Numeric vector to transform.

Examples

Run this code
#

scale0(0:10)
scale0(-1:3)
scale0(2:3)

#

Run the code above in your browser using DataLab