normalize: normalize

Description Usage Arguments Value Examples

Description

normalize transforms a numeric vector to percentile ranks

Usage

1
normalize(x, method = 2)

Arguments

x

A numeric vector

method

If method=1, standard normalize method used. If method=2, percentile ranks are provided.

Value

A numeric vector

Examples

1
2
3
4
5
6
#x <- seq(1:10)
#x2 = runif(100, 1, 44)
#normalize(x, 1)
#normalize(x, 2)
#normalize(x2, 1)
#normalize(x2, 2)

TaylorAndrew/atClean documentation built on May 9, 2019, 4:21 p.m.