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

View source: R/tools.R

rescale01R Documentation

Rescales a numeric variable into values between 0 and 1

Description

Rescales a numeric variable into values between 0 and 1

Usage

rescale01(x)

Arguments

x

numeric vector (to be rescaled)

Value

vector with values between 0 and 1

Examples

rescale01(0:10)

explore documentation built on Sept. 11, 2024, 7:40 p.m.