Learn R Programming

SeBR (version 1.1.0)

g_inv_bc: Inverse Box-Cox transformation

Description

Evaluate the inverse Box-Cox transformation. Negative values are permitted.

Usage

g_inv_bc(s, lambda)

Value

The evaluation(s) of the inverse Box-Cox function at the given input(s) s.

Arguments

s

argument(s) at which to evaluate the function

lambda

Box-Cox parameter

Examples

Run this code
# (Inverse) log-transformation:
g_inv_bc(1:5, lambda = 0); exp(1:5)

# (Inverse) square-root transformation: note the shift and scaling
g_inv_bc(1:5, lambda = 1/2); (1:5)^2

Run the code above in your browser using DataLab