Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bc_inv

Box-Cox transform inverse


Description

Find the original value corresponding to a box-cox transform

Usage

bc_inv(z, lambda, eps = 1e-05)

Arguments

z

numeric, the transformed value

lambda

numeric, the power of the box-cox transform

eps

numeric, a guard around lambda = 0

Value

A vector of original quantities

Examples

invy <- with(Cars93, bc(MPG.city, lambda = -1))
mpgc <- bc_inv(invy, lambda = -1)
range(mpgc - Cars93$MPG.city)

MASSExtra

Some 'MASS' Enhancements

v1.1.2
GPL-2 | GPL-3
Authors
Bill Venables
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.