PT {coxphw} | R Documentation |
Provides automatic pretransformation of variables (to well-scaled and nonzero values).
PT(z)
z |
a vector of numerical values. |
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.
(z
+ shift) / scale
Georg Heinze
PT(z = c(-6, -1, 4, 6))