normalize: Normalize a vector to fit zero-to-one scale

Description Usage Arguments Examples

View source: R/transform.R

Description

Normalize a vector to fit zero-to-one scale

Usage

1
normalize(x, min = 0, max = 1, na.rm = FALSE)

Arguments

x

a numeric vector

min

numeric value. The lower bound of the interval to normalize x.

max

numeric value. The upper bound of the interval to normalize x.

na.rm

a logical indicating whether missing values should be removed

Examples

1

formattable documentation built on May 29, 2017, 7:04 p.m.

Search within the formattable package
Search all R packages, documentation and source code