Function to apply the Box-Cox transform to a vector.

box_cox_transf(y, lambda)

Arguments

y

A numeric vector with the values to be transformed.

lambda

A numeric value with the lambda value that defines the transformation.

Value

A numeric vector with the transformed values

See also