Transformation methods.
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.
handle.violations
None
trafoLog(base = 10, handle.violations = "warn") trafoSqrt(handle.violations = "warn")
base: [numeric(1)]
base
numeric(1)
The base with respect to which logarithms are computed. Default is 10.
10
handle.violations: [character(1)]
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.
Useful links