cs01: Normalize data to 0-1 range

Description Usage Arguments Value Author(s) Examples

View source: R/cs01.r

Description

Normalize data to 0-1 range

Usage

1
cs01(X, mini = min(X), maxi = max(X))

Arguments

X

numerical vector

min

either min of X or user define value

max

either min of X or user define value

Value

numeric()

Author(s)

JuG

Examples

1
2
3
X <- runif(n = 20, min = 1,max = 100)
cs01(X)
cs01(X,0,150)

jgodet/gmrcfun documentation built on June 2, 2020, 8:19 p.m.