ez.rescale01: rescale a vector to 0-1

ez.rescale01R Documentation

rescale a vector to 0-1

Description

rescale a vector to 0-1

Usage

ez.rescale01(x)

Value

if x is not numeric, return original x (unchanged)

Note

step 1: if there is negative value, x - min(x); step 2: x/max(x)


jerryzhujian9/zmisc documentation built on June 13, 2025, 11:17 p.m.