Wrapper functon to YeoJohnson transformation from recipes package. Similar transformation to boxcox, but it accepts also 0 (and negative) values.

normalize(x)

Arguments

x

Numeric vector with values to normalize

Value

Examples

x <- rpois(100, 3) y <- normalize(x) par(mfrow=c(1,2)) hist(x) hist(y)
par(mfrow=c(1,1))