eda_re
re-expresses a vector following the Tukey or
box-cox transformation.
Details
The function is used to re-express data using one of two
transformation techniques: Box-Cox transformation (tukey = FALSE
)or
Tukey's power transformation (tukey = TRUE
).
Examples
x <- c(15, 28, 17, 73, 8, 83, 2)
eda_re(x, p=-1/3)
#> [1] 1.7835596 2.0120494 1.8332666 2.2821832 1.5000000 2.3122532 0.6188984