Learn R Programming

SemiPar.depCens (version 0.1.3)

Longfun: Long format

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