stan: Standardize a vector of values in range 0 to 1

stanR Documentation

Standardize a vector of values in range 0 to 1

Description

Simple function to map a vector of values to the range of 0 and 1 values to have a better behavior of the algorithm.

Usage

stan(x, lb=0, ub=1)

Arguments

x

A vector of numeric values.

lb

Lower bound value to map the x values.

ub

Upper bound value to map the x values.

Details

Simple function to map a vector of values to the range of 0 and 1 values to have a better behavior of the algorithm.

Value

$res

new values in range 0 to 1

References

Giovanny Covarrubias-Pazaran (2024). evola: a simple evolutionary algorithm for complex problems. To be submitted to Bioinformatics.

See Also

evolafit – the core function of the package

Examples



x <- rnorm(20, 10, 3);x
stan(x)



evola documentation built on Aug. 8, 2025, 7:54 p.m.