rescale01: Rescale a numeric vector to range between 0 and 1

Description Usage Arguments Value

View source: R/Normalization.R

Description

Rescale a numeric vector to range between 0 and 1

Usage

1
rescale01(x, na_rm = TRUE)

Arguments

x

a numeric vector

na_rm

logical, whether to remove NA values in call to range (TRUE)

Value

rescaled numeric vector (minimum is 0, maximum is 1)


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.