normalise: Apply normalisation on a numeric vector using a specific...

Description Usage Arguments Value Examples

View source: R/normalise.R

Description

Apply normalisation on a numeric vector using a specific Lambda value

Usage

1
normalise(x, lambda = 3)

Arguments

x

a numeric vector to be normalised.

lambda

a numeric vector from the boxcox function

Value

a numeric vector

Examples

1
2
x <- c(1, 5, 9, 9, 9, 9, 10, 10, 10, 11, 11, 12)
normalise(x, lambda = 3)

Example output

 [1]  1.000000  1.789809  5.636943  5.636943  5.636943  5.636943  7.363057
 [8]  7.363057  7.363057  9.471338  9.471338 12.000000

normalr documentation built on May 2, 2019, 2:46 p.m.