R/bc_antitrafo.R

Defines functions bc_antitrafo

Documented in bc_antitrafo

## File Name: bc_antitrafo.R
## File Version: 0.05

bc_antitrafo <- function(y, lambda )
{
    eps <- 1E-5
    lambda <- yj_adjust_lambda( lambda=lambda, lambda0=0, eps=eps )
    # inverse Box-Cox transformation
    yt <- ( lambda * y + 1 )^( 1 / lambda )
    return(yt)
}
alexanderrobitzsch/mdmb documentation built on July 18, 2024, 11:14 p.m.