PT {coxphw} R Documentation

## Pretransformation function

### Description

Provides automatic pretransformation of variables (to well-scaled and nonzero values).

### Usage

 PT(z) 

### Arguments

 z a vector of numerical values.

### 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.

### Value

(z + shift) / scale

### Author(s)

Georg Heinze

coxphw
PT(z = c(-6, -1, 4, 6))