yeo.johnson {DAMisc}  R Documentation 
Computes the normalizing YeoJohnson transformation. #' This code and the details of the help file were taken from the VGAM
package.
yeo.johnson(
y,
lambda,
derivative = 0,
epsilon = sqrt(.Machine$double.eps),
inverse = FALSE
)
y 
Numeric, a vector or matrix. 
lambda 
Numeric. It is recycled to the same length as 
derivative 
Nonnegative integer. The default is the ordinary function
evaluation, otherwise the derivative with respect to 
epsilon 
Numeric and positive value. The tolerance given to values of

inverse 
Logical. Return the inverse transformation? 
The YeoJohnson transformation can be thought of as an extension of the BoxCox transformation. It handles both positive and negative values, whereas the BoxCox transformation only handles positive values. Both can be used to transform the data so as to improve normality. They can be used to perform LMS quantile regression.
A vector of transformed values.
Thomas Yee