range01 {demcon}R 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)


[Package demcon version 0.3.0 Index]