Description
Change hazard and cumulative hazard to long format
Usage
Longfun(Z, T1, lhat, Lhat)
Arguments
- Z
Observed survival time, which is the minimum of T, C and A, where A is the administrative censoring time.
- T1
Distinct observed survival time
- lhat
Hazard function estimate
- Lhat
Cumulative hazard function estimate