Provides automatic pretransformation of variables (to well-scaled and nonzero values).
Usage
PT(z)
Value
(z + shift) / scale
Arguments
z
a vector of numerical values.
Author
Georg Heinze
Details
The function transforms a variable by shifting to positive values, and dividing by scaling
factor (a power of 10) such that the standard deviation is approximately equal to 1.