powered by
Computes optimal lambda value using boxcox function from the provided data.
getLambda(dat, lambda = seq(-10, 10, 1/100), parallel = TRUE)
a data frame containing the variables of numeric or integer vectors.
a vector of values of lambda <U+2013> default (-10, 10) in steps of 0.01.
perform the computation in parallel, default setting is TRUE.
a numeric vector
Courtney, M. G. R., and Chang, K. C. (2018) Dealing with non-normality: an introduction and step-by-step guide using R. TEST, doi: 10.1111/test.12154.
# NOT RUN { getLambda(mtcars) # } # NOT RUN { getLambda(mtcars, parallel = FALSE) # }
Run the code above in your browser using DataLab