trafos: Transformation methods.

trafosR Documentation

Transformation methods.

Description

  • logTrafo
    Natural logarithm.

  • sqrtTrafo
    Square root.

If negative values occur and the trafo function can handle only positive values, a shift of the form x - min(x) + 1 is performed prior to the transformation if the argument handle.violations is set to “warn” which is the default value.

Usage

trafoLog(base = 10, handle.violations = "warn")

trafoSqrt(handle.violations = "warn")

Arguments

base

[numeric(1)]
The base with respect to which logarithms are computed. Default is 10.

handle.violations

[character(1)]
What should be done, if negative values occur? Setting this option to “warn”, which is the default, shifts the function. “error” stops the process immediately.

Format

None


mlrMBO documentation built on July 4, 2022, 9:05 a.m.