ab_range_normalization {YEAB}R Documentation

Normalization (or rescaling) between arbitrary a and b

Description

Normalization (or rescaling) between arbitrary a and b

Usage

ab_range_normalization(x, a, b)

Arguments

x

numeric

a

numeric

b

numeric

Value

A numeric vector rescaled in the range x' \in [a, b]

Examples

x <- 5:100
a <- 0
b <- 1
x_scaled <- ab_range_normalization(x, a, b)
x_scaled
a <- 100
b <- 1000
x_scaled <- ab_range_normalization(x, a, b)
x_scaled

[Package YEAB version 1.0.6 Index]