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

Description Usage Arguments Value References 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 with lambda, scale and the transformed variable

References

Courtney, M. G. R., and Chang, K. C. (2018) Dealing with non-normality: an introduction and step-by-step guide using R. TEST, doi: 10.1111/test.12154.

Examples

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

kcha193/normalr documentation built on Dec. 11, 2021, 1:54 p.m.