Learn R Programming

BayesBP (version 1.1)

scale_to_01: Scale to [0,1]

Description

Scale to [0,1]

Usage

scale_to_01(x)

Arguments

x

Vector.

Examples

Run this code
# NOT RUN {
scale_to_01(35:85)
(35:85-35)/(85-35)
scale_to_01(runif(10))
# }

Run the code above in your browser using DataLab