powered by
Find the original value corresponding to a box-cox transform
bc_inv(z, lambda, eps = 1e-05)
A vector of original quantities
numeric, the transformed value
numeric, the power of the box-cox transform
numeric, a guard around lambda = 0
invy <- with(Cars93, bc(MPG.city, lambda = -1)) mpgc <- bc_inv(invy, lambda = -1) range(mpgc - Cars93$MPG.city)
Run the code above in your browser using DataLab