50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

explainer (version 1.0.2)

range01: Data scale to 0 and 1

Description

Scale the data to the range of 0 to 1. It uses the Hampel filter to adjust outliers, followed by min-max normalization.

Usage

range01(x)

Value

Normalized vector

Arguments

x

Vector or array of numbers to be normalized

References

Pearson, R. K. (1999). “Data cleaning for dynamic modeling and control”. European Control Conference, ETH Zurich, Switzerland.

See Also

eSHAP_plot()

Examples

Run this code
normalized_vector <- range01(seq(-10:1000))

Run the code above in your browser using DataLab