The Yeo-Johnson transformation is a flexible transformation that is similiar
to Box-Cox, boxcox_trans(), but does not require input values to be greater
than zero.
Usage
yj_trans(p)
Arguments
p
Transformation exponent, \(\lambda\).
Details
The transformation takes one of four forms depending on the values of y and \(\lambda\).
Yeo, I., & Johnson, R. (2000).
A New Family of Power Transformations to Improve Normality or Symmetry. Biometrika, 87(4), 954-959.
http://www.jstor.org/stable/2673623