Transform the data with centering, scaling and Box-Cox transformations

transform_data(data, methods = c("center", "scale", "BoxCox"))

Arguments

data

a data.frame

methods

character, methods for the caret::preProcess functions

Value

a data.frame with transformed data