Learn R Programming

pagoda2 (version 1.0.12)

minMaxScale: Scale the designated values between the range of 0 and 1

Description

Scale the designated values between the range of 0 and 1

Usage

minMaxScale(x)

Value

the scaled values

Arguments

x

values to scale

Examples

Run this code
example_matrix =  matrix(rep(c(1:5), 3), 5)
minMaxScale(example_matrix)

Run the code above in your browser using DataLab