Learn R Programming

explore (version 1.3.4)

rescale01: Rescales a numeric variable into values between 0 and 1

Description

Rescales a numeric variable into values between 0 and 1

Usage

rescale01(x)

Value

vector with values between 0 and 1

Arguments

x

numeric vector (to be rescaled)

Examples

Run this code
rescale01(0:10)

Run the code above in your browser using DataLab