eda_re | R Documentation |
eda_re
re-expresses a vector following the Tukey or
box-cox transformation.
eda_re(x, p = 0, tukey = FALSE)
x |
Vector |
p |
Power transformation |
tukey |
If set to TRUE, then adopt Tukey's power transformation, if FALSE, adopt Box-Cox transformation |
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
).
Returns a vector of same length as input x
x <- c(15, 28, 17, 73, 8, 83, 2)
eda_re(x, p=-1/3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.