range01: Standardize a Variable to 0-1

View source: R/utils-functions.R

range01R Documentation

Standardize a Variable to 0-1

Description

Standardize a vector to 0-1 using the cumulative distribution function of the normal distribution.

Usage

range01(x)

Arguments

x

A vector of numeric values.

Value

A standardized numeric vector scaled to 0-1.

Examples


nums<-rnorm(50, 6.5, 3)

nums<-demcon::range01(nums)


demcon documentation built on March 31, 2023, 10:27 p.m.